coresocial_inline_the_content_show
This content is intended for WordPress developers, and it may require coding knowledge of WordPress, PHP, and JavaScript. Code examples provided here may contain errors or needs some additional coding. Make sure to test the code before using it on a live website!
Description
Filters the Inline block visibility. Use this filter to hide the inline share block on selected posts or pages, by returning false.
Definition
Arguments
Example
Disable Inline share block on the post with the ID 1.
add_filter('coresocial_inline_the_content_show', 'dev4press_example__coresocial_inline_the_content_show'); function dev4press_example__coresocial_inline_the_content_show($visibility) { if (is_post(1)) { $visibility = false; } return $visibility; }