📌  相关文章
📜  高级布局生成器包含自定义帖子类型 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:50.843000             🧑  作者: Mango

代码示例1
function avf_alb_supported_post_types_mod( array $supported_post_types )
{
  $supported_post_types[] = 'YOUR CUSTOM POST NAME';
  $supported_post_types[] = 'YOUR CUSTOM POST NAME';
  return $supported_post_types;
}
add_filter('avf_alb_supported_post_types', 'avf_alb_supported_post_types_mod', 10, 1);