ACF_Admin_Internal_Post_Type_List::__constructpublicACF 1.0

Constructs the class.

Метод класса: 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->__construct();

Код ACF_Admin_Internal_Post_Type_List::__construct() ACF 6.4.2

public function __construct() {
	add_action( 'current_screen', array( $this, 'current_screen' ) );
	add_action( 'admin_footer', array( $this, 'include_pro_features' ) );

	// Handle post status change events.
	add_action( 'trashed_post', array( $this, 'trashed_post' ) );
	add_action( 'untrashed_post', array( $this, 'untrashed_post' ) );
	add_action( 'deleted_post', array( $this, 'deleted_post' ) );
}