ddwpinfo_filter_help_sidebar_content

Helper function for returning the Help Sidebar content.

Description

(string) apply_filters( 'ddwpinfo_filter_help_sidebar_content', (unknown) $ddwpinfo_help_sidebar_content ); 

Returns (string)

HTML content for help sidebar.

Parameters (1)

0. $ddwpinfo_help_sidebar_content (unknown)
The ddwpinfo help sidebar content.

Usage

To run the hook, copy the example below.
  1. $ddwpinfo_help_sidebar_content = apply_filters( 'ddwpinfo_filter_help_sidebar_content', $ddwpinfo_help_sidebar_content ); 
  2.  
  3. if ( !empty( $ddwpinfo_help_sidebar_content ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the ddwpinfo_filter_help_sidebar_content callback 
  2. function filter_ddwpinfo_filter_help_sidebar_content( $ddwpinfo_help_sidebar_content ) { 
  3. // make filter magic happen here... 
  4. return $ddwpinfo_help_sidebar_content
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'ddwpinfo_filter_help_sidebar_content', 'filter_ddwpinfo_filter_help_sidebar_content', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'ddwpinfo_filter_help_sidebar_content', 'filter_ddwpinfo_filter_help_sidebar_content', 10, 1 ); 

Defined (1)

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

/includes/ddwpinfo/views/ddwpinfo-admin-help.php  
  1. return apply_filters( 'ddwpinfo_filter_help_sidebar_content', $ddwpinfo_help_sidebar_content );