wpseo_ai_auth_method, null, $user
wpseo_ai_auth_method, null, $user
Appears in: wordpress-seo.28.2
Hook Type: filter
Displaying hooks found in version: wordpress-seo.28.2apply_filters('wpseo_ai_auth_method, null, $user') is found 1 times:
- /src/ai/authentication/application/ai-request-sender-factory.php line 126
* * @param string|null $method The forced strategy, or null for default selection. * @param WP_User $user The WP user the request is on behalf of. */ $forced = \apply_filters( 'wpseo_ai_auth_method', null, $user ); if ( $forced === Auth_Method::OAUTH || $forced === Auth_Method::TOKEN ) { return $forced; } return null;