Skip to content

wpt_tweet_this_edit

github-actions[bot] edited this page Jun 19, 2026 · 2 revisions

Filter whether a post defaults to send updates on edit.

Auto-generated Example

add_filter(
   'wpt_tweet_this_edit',
    function(
        string,
        array $_POST,
        int $post_ID
    ) {
        // Your code here.
        return string;
    },
    10,
    3
);

Parameters

  • string $post_this 'yes' or 'no'. Other variable names: $post_this
  • array $_POST POST global.
  • int $post_ID Post ID.

Returns

string 'yes' to continue with posting.

Files

apply_filters( 'wpt_tweet_this_edit', $post_this, $_POST, $post_ID )

← All Hooks

Clone this wiki locally