acf_sync_admin_css

The ACF Pro JSON Sync acf sync admin css function.

Description

acf_sync_admin_css(); 

Usage

  1. if ( !function_exists( 'acf_sync_admin_css' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'acf-pro-json-sync/acf-sync.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = acf_sync_admin_css(); 
  7.  

Defined (1)

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

/acf-sync.php  
  1. function acf_sync_admin_css() { 
  2. wp_register_style( 'acf_sync_css', plugins_url( 'css/acf-sync.css', __FILE__ ), false, '1.0.0' ); 
  3. wp_enqueue_style( 'acf_sync_css' );