ddw_gftb_gravityforms_help_tab_content

Create and display plugin help tab content.

Description

ddw_gftb_gravityforms_help_tab_content(); 

Usage

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

Defined (1)

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

/lib/gftb-admin.php  
  1. function ddw_gftb_gravityforms_help_tab_content() { 
  2.  
  3. echo '<h3>' . __( 'Plugin', 'gravity-forms-toolbar' ) . ': ' . __( 'Gravity Forms Toolbar', 'gravity-forms-toolbar' ) . ' <small>v' . esc_attr( ddw_gftb_plugin_get_data( 'Version' ) ) . '</small></h3>' .  
  4. '<ul>' .  
  5. '<li><a href="' . esc_url_raw( GFTB_URL_SUGGESTIONS ) . '" target="_new" title="' . __( 'Suggest new resource items or Add-Ons/ plugins for support', 'gravity-forms-toolbar' ) . '">' . __( 'Suggest new resource items or Add-Ons/ plugins for support', 'gravity-forms-toolbar' ) . '</a></li>' . 
  6. '<li><a href="' . esc_url_raw( GFTB_URL_SNIPPETS ) . '" target="_new" title="' . __( 'Code snippets for customizing & branding', 'gravity-forms-toolbar' ) . '">' . __( 'Code snippets for customizing & branding', 'gravity-forms-toolbar' ) . '</a></li>'; 
  7.  
  8. /** Optional: recommended plugins */ 
  9. if ( ! class_exists( 'GFCPTAddon' ) || 
  10. ! class_exists( 'GFReadyClassesAddon' ) || 
  11. ! function_exists( 'gfe_init' ) /** ! class_exists( 'GFEntryDetail' ) */ 
  12. ) { 
  13.  
  14. echo '<li><em>' . __( 'Other, recommended Gravity Forms plugins', 'gravity-forms-toolbar' ) . '</em>:'; 
  15.  
  16. if ( ! class_exists( 'GFCPTAddon' ) ) { 
  17.  
  18. echo '<br />» <a href="http://wordpress.org/extend/plugins/gravity-forms-custom-post-types/" target="_new" title="Gravity Forms + Custom Post Types">Gravity Forms + Custom Post Types</a> — ' . __( 'map forms that create posts to a custom post type, also map dropdown select, radio buttons list and checkboxes lists to a custom taxonomy', 'gravity-forms-toolbar' ); 
  19.  
  20. } // end-if plugin check 
  21.  
  22. if ( ! class_exists( 'GFReadyClassesAddon' ) ) { 
  23.  
  24. echo '<br />» <a href="http://wordpress.org/extend/plugins/gravity-forms-css-ready-selector/" target="_new" title="Gravity Forms CSS Ready Class Selector">Gravity Forms CSS Ready Class Selector</a> — ' . __( 'easily select a CSS "Ready Class" for your fields within Gravity Forms', 'gravity-forms-toolbar' ); 
  25.  
  26. } // end-if plugin check 
  27.  
  28. if ( ! function_exists( 'gfe_init' ) ) { 
  29.  
  30. echo '<br />» <a href="http://wordpress.org/extend/plugins/gravity-forms-pdf-extended/" target="_new" title="Gravity Forms PDF Extended">Gravity Forms PDF Extended</a> — ' . __( 'save/view/download a PDF from the front- and back-end, and automate PDF creation on form submission', 'gravity-forms-toolbar' ); 
  31.  
  32. } // end-if plugin check 
  33.  
  34. echo '</li>'; 
  35.  
  36. } // end-if plugins check 
  37.  
  38. echo '<li><em>' . __( 'Miscellaneous', 'gravity-forms-toolbar' ) . ':</em>' . 
  39. '<br /><a href="http://friendfeed.com/gravityforms-news" target="_new" title="' . __( 'Gravity Forms News Planet', 'gravity-forms-toolbar' ) . '">' . __( 'Gravity Forms News Planet (official and community news via FriendFeed service)', 'gravity-forms-toolbar' ) . 
  40. '</li>'; 
  41.  
  42. echo '</ul>' . 
  43. '<p><strong>' . __( 'Important plugin links:', 'gravity-forms-toolbar' ) . '</strong>' .  
  44. '<br /><a href="' . esc_url_raw( GFTB_URL_PLUGIN ) . '" target="_new" title="' . __( 'Plugin website', 'gravity-forms-toolbar' ) . '">' . __( 'Plugin website', 'gravity-forms-toolbar' ) . '</a> | <a href="' . esc_url_raw( GFTB_URL_WPORG_FAQ ) . '" target="_new" title="' . __( 'FAQ', 'gravity-forms-toolbar' ) . '">' . __( 'FAQ', 'gravity-forms-toolbar' ) . '</a> | <a href="' . esc_url_raw( GFTB_URL_WPORG_FORUM ) . '" target="_new" title="' . _x( 'Support', 'Translators: Plugin support links', 'gravity-forms-toolbar' ) . '">' . _x( 'Support', 'Translators: Plugin support links', 'gravity-forms-toolbar' ) . '</a> | <a href="' . esc_url_raw( GFTB_URL_TRANSLATE ) . '" target="_new" title="' . __( 'Translations', 'gravity-forms-toolbar' ) . '">' . __( 'Translations', 'gravity-forms-toolbar' ) . '</a> | <a href="' . esc_url_raw( GFTB_URL_DONATE ) . '" target="_new" title="' . __( 'Donate', 'gravity-forms-toolbar' ) . '"><strong>' . __( 'Donate', 'gravity-forms-toolbar' ) . '</strong></a></p>' . 
  45. '<p><a href="http://www.opensource.org/licenses/gpl-license.php" target="_new" title="' . esc_attr( GFTB_PLUGIN_LICENSE ). '">' . esc_attr( GFTB_PLUGIN_LICENSE ). '</a> © ' . date( 'Y' ) . ' <a href="' . esc_url_raw( ddw_gftb_plugin_get_data( 'AuthorURI' ) ) . '" target="_new" title="' . esc_attr__( ddw_gftb_plugin_get_data( 'Author' ) ) . '">' . esc_attr__( ddw_gftb_plugin_get_data( 'Author' ) ) . '</a></p>'; 
  46.  
  47. } // end of function ddw_gftb_gravityforms_help_tab_content