Plugin Directory

Changeset 2069732


Ignore:
Timestamp:
04/17/2019 06:25:00 AM (7 years ago)
Author:
pluginrox
Message:

fix issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cf7-responses/trunk/includes/classes/class-post-types.php

    r2002500 r2069732  
    6161                ),
    6262                'description' => sprintf( __( 'This is where you can create and manage %s.', CF7R_TEXTDOMAIN ), $plural ),
    63                 'public'                => true,
     63                'public'                => false,
    6464                'show_ui'               => true,
    6565                'capability_type'       => 'post',
    6666                'map_meta_cap'          => true,
    67                 'publicly_queryable'    => true,
    68                 'exclude_from_search'   => false,
     67                'publicly_queryable'    => false,
     68                'exclude_from_search'   => true,
    6969                'hierarchical'          => false,
    70                 'rewrite'               => true,
     70                'rewrite'               => false,
    7171                'capabilities'          => array( 'create_posts' => 'do_not_allow' ),
    7272                'query_var'             => true,
     
    7676            ) )
    7777        );
    78 
    79 //        remove_submenu_page( 'wpcf7', 'edit.php?post_type=wpcf7_responses' );
    8078    }
    8179   
Note: See TracChangeset for help on using the changeset viewer.