acf_sync_submenu_page

The ACF Pro JSON Sync acf sync submenu page function.

Description

acf_sync_submenu_page(); 

Usage

  1. if ( !function_exists( 'acf_sync_submenu_page' ) ) { 
  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_submenu_page(); 
  7.  

Defined (1)

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

/acf-sync.php  
  1. function acf_sync_submenu_page() { 
  2. add_submenu_page( 'sync_acf', 'Run ACF Sync', 'Run Sync', 'manage_options', 'run_acf_sync', 'run_acf_sync' );