Modifying a CoBlocks Filter in Functions

apply_filters() calls all callbacks added via add_filter() for the specific filter hook, which is coblocks_post_carousel_settings in your case, so instead of: apply_filters( ‘coblocks_post_carousel_settings’, ‘my_filter_coblocks_carousel’ ); You should actually do: // You should use add_filter() and not apply_filters(). add_filter( ‘coblocks_post_carousel_settings’, ‘my_filter_coblocks_carousel’ ); And, your callback should accept the slider settings passed by the plugin to apply_filters() … Read more