• Resolved miket234

    (@miket234)


    Hi, thank you for your great plugin. I’m testing out Wicked Folders on multisite – when a new sub-site is created, WickedFolders plugin is activated but the “Pages” setting is not enabled by default.

    Is there a way to do this automatically as we don’t want our users to access those settings themselves — perhaps a function that we can use to integrate in a button so when it’s clicked it can enable that setting?

    Your response is much appreciated, thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author wickedplugins

    (@wickedplugins)

    Hi @miket234,

    I think the wicked_folders_post_types filter might be able to accomplish what you want:

    add_filter( 'wicked_folders_post_types', function( $post_types ){
    	$post_types[] = 'page';
    
    	return $post_types;
    } );
    Thread Starter miket234

    (@miket234)

    I will try it out – thank you for your quick reply!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Folders not enabled by default (Multisite)’ is closed to new replies.