publicize_checkbox_global_default, $enabled, $post_id, $service_name, $connection
publicize_checkbox_global_default, $enabled, $post_id, $service_name, $connection
Appears in: jetpack.16.0.1
Hook Type: filter
Displaying hooks found in version: jetpack.16.0.1apply_filters('publicize_checkbox_global_default, $enabled, $post_id, $service_name, $connection') is found 1 times:
- /jetpack_vendor/automattic/jetpack-publicize/src/class-publicize-base.php line 980
* @param int $post_id ID of the current post * @param string $service_name Name of the connection (Facebook, Twitter, etc) * @param array $connection Array of data about the connection. */ $enabled = apply_filters( 'publicize_checkbox_global_default', $enabled, $post_id, $service_name, $connection ); } // Force the checkbox to be checked if the post was DONE, regardless of what the filter does. if ( $done ) { $enabled = true; }