cf7style_editor_page_init

The Contact Form 7 Style cf7style editor page init function.

Description

cf7style_editor_page_init(); 

Usage

  1. if ( !function_exists( 'cf7style_editor_page_init' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'contact-form-7-style/inc/editor_page.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = cf7style_editor_page_init(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/inc/editor_page.php  
  1. function cf7style_editor_page_init() { 
  2. add_submenu_page(  
  3. 'edit.php?post_type=cf7_style',  
  4. __( "'CSS Editor", "contact-form-7-style" ),  
  5. __( "CSS Editor", "contact-form-7-style" ),  
  6. 'manage_options',  
  7. 'cf7style-css-editor',  
  8. ); 
  9. add_submenu_page(  
  10. 'edit.php?post_type=cf7_style',  
  11. __( "Settings", "contact-form-7-style" ),  
  12. __( "Settings", "contact-form-7-style" ),  
  13. 'manage_options',  
  14. 'cf7style-settings',  
  15. );