akismet_ua

akismet_ua

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('akismet_ua') is found 1 times:

  • /wp-content/plugins/akismet/class.akismet.php line 1311
    	 */
    	public static function http_post( $request, $path, $ip=null ) {
    
    		$akismet_ua = sprintf( 'WordPress/%s | Akismet/%s', $GLOBALS['wp_version'], constant( 'AKISMET_VERSION' ) );
    		$akismet_ua = apply_filters( 'akismet_ua', $akismet_ua );
    
    		$host      = self::API_HOST;
    		$api_key   = self::get_api_key();
    
    		if ( $api_key ) {
    			$request = add_query_arg( 'api_key', $api_key, $request );
    

See this hook used in plugins: