ACF | Type: PHPLoading acf/init properly

This code wraps ‘acf_add_options_page’ code (usually in the theme functions file):

add_action('acf/init', 'my_acf_init'); 
function my_acf_init() { 
   // Get ACF version. 
   $version = acf_get_setting('version'); 
   
   // add options page code here

}

Reference Links