ID ); } // l10n $l10n = apply_filters( 'acf/input/admin_l10n', array( 'core' => array( 'expand_details' => __("Expand Details",'acf'), 'collapse_details' => __("Collapse Details",'acf') ), 'validation' => array( 'error' => __("Validation Failed. One or more fields below are required.",'acf') ) )); // options $o = array( 'post_id' => $post_id, 'nonce' => wp_create_nonce( 'acf_nonce' ), 'admin_url' => admin_url(), 'ajaxurl' => admin_url( 'admin-ajax.php' ), 'wp_version' => $wp_version ); // toolbars $t = array(); if( is_array($toolbars) ){ foreach( $toolbars as $label => $rows ){ $label = sanitize_title( $label ); $label = str_replace('-', '_', $label); $t[ $label ] = array(); if( is_array($rows) ){ foreach( $rows as $k => $v ){ $t[ $label ][ 'theme_advanced_buttons' . $k ] = implode(',', $v); }} }} ?>