publicize_checkbox_default, $enabled, $post_id, $service_name, $connection
publicize_checkbox_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_default, $enabled, $post_id, $service_name, $connection') is found 1 times:
- /jetpack_vendor/automattic/jetpack-publicize/src/class-publicize-base.php line 963
* @param int $post_id Post ID. * @param string $service_name Service name. * @param array $connection Array of connection details. */ $enabled = apply_filters( 'publicize_checkbox_default', $enabled, $post_id, $service_name, $connection ); /** * If this is a shared connection and this user doesn't have enough permissions to modify. */ if ( ! $done && Connections::is_shared( $connection ) && ! current_user_can( $this->GLOBAL_CAP ) ) { /**