Filter to allow ‘post’ tab in ocean wp settings
-
I’m using the filter ‘ocean_main_metaboxes_post_types’ to add the oceanwp settings in my custom post types. This works perfectly fine, except that it doesn’t show the ‘post’ tab where I can place the oEmbed URL, link, link target etc… This happens because of
// Return if it is not Post post type if ( 'post' != $post_type ) { return; }
in includes/metabox/metabox.php#L1667 https://github.com/oceanwp/ocean-extra/blob/master/includes/metabox/metabox.php#L1667
Can you add an apply_filters somewhere there so that we can override this behavior in a similar way like ‘ocean_main_metaboxes_post_types’?
Thank you in advance,
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Filter to allow ‘post’ tab in ocean wp settings’ is closed to new replies.