wpseek.com
A WordPress-centric search engine for devs and theme authors



allowed_http_origin › WordPress Filter Hooks

Since3.4.0
Deprecatedn/a
apply_filters( 'allowed_http_origin', $origin, $origin_arg )
Parameters: (2)
  • (string) $origin Origin URL if allowed, empty string if not.
    Required: Yes
  • (string) $origin_arg Original origin string passed into is_allowed_http_origin function.
    Required: Yes
Defined at:
Codex:

Change the allowed HTTP origin result.





Source

return apply_filters( 'allowed_http_origin', $origin, $origin_arg );