WC_Auth::__construct()
Setup class.
Метод класса: WC_Auth{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WC_Auth = new WC_Auth(); $WC_Auth->__construct();
Список изменений
С версии 2.4.0 | Введена. |
Код WC_Auth::__construct() WC Auth:: construct WC 9.8.2
public function __construct() { // Add query vars. add_filter( 'query_vars', array( $this, 'add_query_vars' ), 0 ); // Register auth endpoint. add_action( 'init', array( __CLASS__, 'add_endpoint' ), 0 ); // Handle auth requests. add_action( 'parse_request', array( $this, 'handle_auth_requests' ), 0 ); }