__gftb_admin_only

Helper function for returning 'administrator' role/capability.

Description

__gftb_admin_only(); 

Usage

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

Defined (1)

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

/lib/gftb-branding.php  
  1. function __gftb_admin_only() { 
  2.  
  3. return 'administrator'; 
  4.