ACF_Rest_Api::__construct()
Метод класса: ACF_Rest_Api{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$ACF_Rest_Api = new ACF_Rest_Api(); $ACF_Rest_Api->__construct();
Код ACF_Rest_Api::__construct() ACF Rest Api:: construct ACF 6.0.4
public function __construct() { add_filter( 'rest_pre_dispatch', array( $this, 'initialize' ), 10, 3 ); add_action( 'rest_api_init', array( $this, 'register_field' ) ); }