ACF_Admin_Internal_Post_Type::__construct
Constructs the class.
Метод класса: ACF_Admin_Internal_Post_Type{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$ACF_Admin_Internal_Post_Type = new ACF_Admin_Internal_Post_Type(); $ACF_Admin_Internal_Post_Type->__construct();
Код ACF_Admin_Internal_Post_Type::__construct() ACF Admin Internal Post Type:: construct ACF 6.4.2
public function __construct() {
add_action( 'current_screen', array( $this, 'current_screen' ) );
add_action( 'save_post_' . $this->post_type, array( $this, 'save_post' ), 10, 2 );
add_action( 'wp_ajax_acf/link_field_groups', array( $this, 'ajax_link_field_groups' ) );
add_filter( 'use_block_editor_for_post_type', array( $this, 'use_block_editor_for_post_type' ), 10, 2 );
}