ACF_Admin::__construct
Constructor.
Method of the class: ACF_Admin{}
No Hooks.
Returns
null. Nothing (null).
Usage
$ACF_Admin = new ACF_Admin(); $ACF_Admin->__construct();
Changelog
| Since 5.0.0 | Introduced. |
ACF_Admin::__construct() ACF Admin:: construct code ACF 6.0.4
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' ) );
}