Filter: wpt_scheduled_media

apply_filters( 'wpt_scheduled_media', $media, $post_id, $rt ) → {bool}

Customize whether media should be uploaded for the current Tweet action.

Parameters:
Name Type Description
$media bool

True to post media; false to not.

$post_id int

Post ID.

$rt int

Which time this is being reposted, if a repost.

Source:
Returns:
Type
bool

apply_filters( 'wpt_scheduled_media', $media, $post_id, $rt ) → {bool}

Customize whether media should be uploaded for the current Tweet action.

Parameters:
Name Type Description
$media bool

True to post media; false to not.

$post_id int

Post ID.

$rt int

Which time this is being reposted, if a repost.

Source:
Returns:
Type
bool