WC_Auth::__construct() public WC 2.4.0
Setup class.
{} Это метод класса: WC_Auth{}
Хуков нет.
Возвращает
Null. Ничего.
Использование
$WC_Auth = new WC_Auth(); $WC_Auth->__construct();
Список изменений
С версии 2.4.0 | Введена. |
Код WC_Auth::__construct() WC Auth:: construct WC 4.9.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 );
}