ACF_Admin::__construct()
Constructor.
{} Это метод класса: ACF_Admin{}
Хуков нет.
Возвращает
null
. Ничего.
Использование
$ACF_Admin = new ACF_Admin(); $ACF_Admin->__construct();
Список изменений
С версии 5.0.0 | Введена. |
Код ACF_Admin::__construct() ACF Admin:: construct ACF 5.10.2
function __construct() { // Add actions. add_action( 'admin_menu', array( $this, 'admin_menu' ) ); add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) ); add_action( 'admin_body_class', array( $this, 'admin_body_class' ) ); add_action( 'current_screen', array( $this, 'current_screen' ) ); }