sharing_show, $show, $post
sharing_show, $show, $post
Appears in: jetpack.16.0.1
Hook Type: filter
Displaying hooks found in version: jetpack.16.0.1apply_filters('sharing_show, $show, $post') is found 2 times:
- /json-endpoints/class.wpcom-json-api-post-endpoint.php line 288
break; case 'sharing_enabled': $show = true; /** This filter is documented in modules/sharedaddy/sharing-service.php */ $show = apply_filters( 'sharing_show', $show, $post ); $switched_status = get_post_meta( $post->ID, 'sharing_disabled', false ); if ( ! empty( $switched_status ) ) { $show = false; } - /modules/sharedaddy/sharing-service.php line 1051
* * @param bool $show Should the sharing buttons be displayed. * @param WP_Post $post The post to share. */ $show = apply_filters( 'sharing_show', $show, $post ); // Disabled for this post? $switched_status = get_post_meta( $post->ID, 'sharing_disabled', false ); if ( ! empty( $switched_status ) ) { $show = false;