BeBuilder can't be enabled for custom post types

Hi,

I registered a custom post type "support-pages" and tried to enable the BeBuilder for this CPT. The code you suggested to use here doesn't work. The hook is never executed even though it is placed right on top of the functions.php. I can see that the main theme's functions.php tries to add the filter too and - here too - the filter is never applied.

Was this feature silently removed?

/**
 * Enable BeBuilder for Support Pages
 */
add_action('bebuilder_post_types','my_post_types');
 error_log("This log message appears");
function my_post_types($post_types){
  error_log("This is never logged.");
  $post_types[] = 'support-pages';
  return $post_types;
}

https://forum.muffingroup.com/betheme/discussion/74455/how-to-add-new-custom-post-type

Comments

Sign In or Register to comment.