Skip to content

Instantly share code, notes, and snippets.



Last active Aug 21, 2020
What would you like to do?
Hide DIVI Project Post Type
#3 Divi Project verstecken
Mehr Infos unter
add_filter('et_project_posttype_args', 'mytheme_et_project_posttype_args', 10, 1);
function mytheme_et_project_posttype_args($args) {
return array_merge($args, array(
'public' => false,
'exclude_from_search' => false,
'publicly_queryable' => false,
'show_in_nav_menus' => false,
'show_ui' => false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.