Noptin_Post_Types::get_form_post_type_details()
Returns registration details for noptin-form post types
Return Return
(array)
Source Source
File: includes/class-noptin-post-types.php
public function get_form_post_type_details() { return apply_filters( 'noptin_optin_form_post_type_details', array( 'labels' => array( 'name' => _x( 'Email Forms', 'Post type general name', 'newsletter-optin-box' ), 'singular_name' => _x( 'Email Form', 'Post type singular name', 'newsletter-optin-box' ), 'menu_name' => _x( 'Email Forms', 'Admin Menu text', 'newsletter-optin-box' ), 'name_admin_bar' => _x( 'Email Form', 'Add New on Toolbar', 'newsletter-optin-box' ), 'add_new' => __( 'Add New', 'newsletter-optin-box' ), 'add_new_item' => __( 'Add New Form', 'newsletter-optin-box' ), 'new_item' => __( 'New Form', 'newsletter-optin-box' ), 'edit_item' => __( 'Edit Form', 'newsletter-optin-box' ), 'view_item' => __( 'View Form', 'newsletter-optin-box' ), 'search_items' => __( 'Search Forms', 'newsletter-optin-box' ), 'parent_item_colon' => __( 'Parent Forms:', 'newsletter-optin-box' ), 'not_found' => __( 'No forms found.', 'newsletter-optin-box' ), 'not_found_in_trash' => __( 'No forms found in Trash.', 'newsletter-optin-box' ), ), 'label' => __( 'Email Forms', 'newsletter-optin-box' ), 'description' => '', 'public' => false, 'show_ui' => true, 'map_meta_cap' => true, 'publicly_queryable' => false, 'exclude_from_search' => true, 'hierarchical' => false, 'query_var' => false, 'supports' => array( 'author' ), 'has_archive' => false, 'show_in_nav_menus' => false, 'show_in_rest' => false, 'show_in_menu' => false, 'menu_icon' => '', 'can_export' => false, ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.1.1 | Introduced. |