ACF_Admin_Field_Groups::__construct()
Constructor.
Метод класса: ACF_Admin_Field_Groups{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$ACF_Admin_Field_Groups = new ACF_Admin_Field_Groups(); $ACF_Admin_Field_Groups->__construct();
Список изменений
С версии 5.0.0 | Введена. |
Код ACF_Admin_Field_Groups::__construct() ACF Admin Field Groups:: construct ACF 6.0.4
public function __construct() { // Add hooks. add_action( 'load-edit.php', array( $this, 'handle_redirection' ) ); add_action( 'current_screen', array( $this, 'current_screen' ) ); // 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' ) ); }