ACF_Admin_Internal_Post_Type_List::admin_enqueue_scripts
Enqueues admin scripts.
Метод класса: ACF_Admin_Internal_Post_Type_List{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$ACF_Admin_Internal_Post_Type_List = new ACF_Admin_Internal_Post_Type_List(); $ACF_Admin_Internal_Post_Type_List->admin_enqueue_scripts();
Список изменений
С версии 5.9.0 | Введена. |
Код ACF_Admin_Internal_Post_Type_List::admin_enqueue_scripts() ACF Admin Internal Post Type List::admin enqueue scripts ACF 6.4.2
public function admin_enqueue_scripts() { acf_enqueue_script( 'acf' ); acf_localize_text( array( 'Review local JSON changes' => esc_html__( 'Review local JSON changes', 'acf' ), 'Loading diff' => esc_html__( 'Loading diff', 'acf' ), 'Sync changes' => esc_html__( 'Sync changes', 'acf' ), 'Please activate your ACF PRO license to edit this options page.' => esc_html__( 'Please activate your ACF PRO license to edit this options page.', 'acf' ), 'Please activate your ACF PRO license to edit field groups assigned to an ACF Block.' => esc_html__( 'Please activate your ACF PRO license to edit field groups assigned to an ACF Block.', 'acf' ), ) ); }