ddw_gftb_help_sidebar_content_extra

Helper function for returning the Help Sidebar content - extra for plugin setting page.

Description

(string) ddw_gftb_help_sidebar_content_extra(); 

Returns (string)

Extra HTML content for help sidebar.


Usage

  1. if ( !function_exists( 'ddw_gftb_help_sidebar_content_extra' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'gravity-forms-toolbar/lib/gftb-admin-extras.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = ddw_gftb_help_sidebar_content_extra(); 
  7.  

Defined (1)

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

/lib/gftb-admin-extras.php  
  1. function ddw_gftb_help_sidebar_content_extra() { 
  2.  
  3. $gftb_info = (array) ddw_gftb_info_values(); 
  4.  
  5. $gftb_help_sidebar_content_extra = '<p><strong>' . __( 'Actions', 'gravity-forms-toolbar' ) . '</strong></p>' . 
  6. '<p><a class="button button-primary" href="' . esc_url( $gftb_info[ 'url_donate' ] ) . '" target="_new">→ ' . __( 'Donate', 'gravity-forms-toolbar' ) . '</a></p>' . 
  7. '<p><a class="button button-secondary" href="' . esc_url( $gftb_info[ 'url_wporg_forum' ] ) . '" target="_new">→ ' . __( 'Support Forum', 'gravity-forms-toolbar' ) . '</a></p><br />'; 
  8.  
  9. return apply_filters( 'gftb_filter_help_sidebar_content_extra', $gftb_help_sidebar_content_extra ); 
  10.  
  11. } // end of function ddw_gftb_help_sidebar_content_extra