register_fields_font_awesome

Plugin Name: Advanced Custom Fields: Font Awesome Description: Add a Font Awesome field type to Advanced Custom Fields Version: 1.7.2 Author: Matt Keys Author URI: http://mattkeys.me/ License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html.

Description

register_fields_font_awesome(); 

Usage

  1. if ( !function_exists( 'register_fields_font_awesome' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'advanced-custom-fields-font-awesome/acf-font-awesome.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = register_fields_font_awesome(); 
  7.  

Defined (1)

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

/acf-font-awesome.php  
  1. function register_fields_font_awesome() { 
  2.  
  3. if ( ! class_exists( 'acf' ) ) { 
  4. return; 
  5.  
  6. global $acf; 
  7.  
  8. if ( version_compare( $acf->settings['version'], '5.0', '>=' ) ) { 
  9. include_once( 'acf-font-awesome-v5.php' ); 
  10. } else { 
  11. include_once( 'acf-font-awesome-v4.php' ); 
  12.