ACF_Admin_Field_Groups::__construct() public ACF 5.0.0
Constructor.
{} Это метод класса: ACF_Admin_Field_Groups{}
Хуков нет.
Возвращает
null.
Использование
$ACF_Admin_Field_Groups = new ACF_Admin_Field_Groups(); $ACF_Admin_Field_Groups->__construct();
- (void) (обязательный)
Список изменений
С версии 5.0.0 | Введена. |
Код ACF_Admin_Field_Groups::__construct() ACF Admin Field Groups:: construct ACF 5.9.1
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') );
}