allowed_http_origin

allowed_http_origin

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('allowed_http_origin') is found 1 times:

  • /wp-includes/http.php line 494
    	 *
    	 * @param string $origin     Origin URL if allowed, empty string if not.
    	 * @param string $origin_arg Original origin string passed into is_allowed_http_origin function.
    	 */
    	return apply_filters( 'allowed_http_origin', $origin, $origin_arg );
    }
    
    /**
     * Sends Access-Control-Allow-Origin and related headers if the current request
     * is from an allowed origin.
     *