render_help_center

Outputs a help center.

Description

render_help_center( (string) $id ); 

Parameters (1)

0. $id (string)
The id for the tab.

Usage

  1. if ( !function_exists( 'render_help_center' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'yoast-seo/admin/views/tool-bulk-editor.php'; 
  3.  
  4. // The id for the tab. 
  5. $id = ''; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = render_help_center($id); 
  9.  

Defined (1)

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

/admin/views/tool-bulk-editor.php  
  1. function render_help_center( $id ) { 
  2. $helpcenter_tab = new WPSEO_Option_Tab( 'bulk-' . $id, __( 'Bulk editor', 'wordpress-seo' ),  
  3. array( 'video_url' => 'https://yoa.st/screencast-tools-bulk-editor' ) ); 
  4.  
  5. $helpcenter = new WPSEO_Help_Center( 'bulk-editor' . $id, $helpcenter_tab ); 
  6. $helpcenter->output_help_center();