ddw_wcde_help_sidebar_content_extra

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

Description

(string) ddw_wcde_help_sidebar_content_extra(); 

Returns (string)

Extra HTML content for help sidebar.


Usage

  1. if ( !function_exists( 'ddw_wcde_help_sidebar_content_extra' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce-german-de_de/includes/wcde-admin-extras.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = ddw_wcde_help_sidebar_content_extra(); 
  7.  

Defined (1)

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

/includes/wcde-admin-extras.php  
  1. function ddw_wcde_help_sidebar_content_extra() { 
  2.  
  3. //style="margin-top: -5px;" 
  4.  
  5. $wcde_info = (array) ddw_wcde_info_values(); 
  6.  
  7. $wcde_help_sidebar_content_extra = '<p><strong>' . __( 'Actions', 'woocommerce-german' ) . ':</strong></p>' . 
  8.  
  9. '<p><a class="button button-secondary" href="' . admin_url( ddw_wcde_woocommerce_settings_link() . '&tab=wcdetranslations' ) . '">' . __( 'Plugin Settings', 'woocommerce-german' ) . '</a></p>' . 
  10.  
  11. '<p><a class="button button-primary" href="' . esc_url( $wcde_info[ 'url_donate' ] ) . '" target="_new"><strong>→ ' . __( 'Donate', 'woocommerce-german' ) . '</strong></a></p>' . 
  12.  
  13. '<p><a class="button button-secondary" href="' . esc_url( $wcde_info[ 'url_wporg_forum' ] ) . '" target="_new">→ ' . __( 'Support Forum', 'woocommerce-german' ) . '</a></p><br />'; 
  14.  
  15. return apply_filters( 'wcde_filter_help_sidebar_content_extra', $wcde_help_sidebar_content_extra ); 
  16.  
  17. } // end of function ddw_wcde_help_sidebar_content_extra