publicize_should_publicize_published_post, $should_publicize, $post
publicize_should_publicize_published_post, $should_publicize, $post
Appears in: jetpack.16.0.1
Hook Type: filter
Displaying hooks found in version: jetpack.16.0.1apply_filters('publicize_should_publicize_published_post, $should_publicize, $post') is found 2 times:
- /jetpack_vendor/automattic/jetpack-publicize/src/class-publicize.php line 609
* * @param bool $should_publicize Should the post be publicized? Default to true. * @param WP_POST $post Current Post object. */ $should_publicize = apply_filters( 'publicize_should_publicize_published_post', $should_publicize, $post ); if ( $should_publicize ) { update_post_meta( $post->ID, $this->PENDING, true ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase } } } - /jetpack_vendor/automattic/jetpack-publicize/src/class-publicize.php line 724
$should_publicize = $this->should_submit_post_pre_checks( $post ); /** This filter is already documented in modules/publicize/publicize-jetpack.php */ if ( ! apply_filters( 'publicize_should_publicize_published_post', $should_publicize, $post ) ) { return $flags; } $connected_services = $this->get_all_connections(); if ( empty( $connected_services ) ) {