有没有办法从 LearnPress 插件中删除/删除“课程”选项卡/部分? 我找不到这个问题的解决方案。
答案 0 :(得分:0)
add_filter( 'learn-press/course-tabs', 'theme_prefix_lp_course_tab_remove' );
function theme_prefix_lp_course_tab_remove( $tabs ) {
unset( $tabs['curriculum'] );
return $tabs;
}