redirection_headers_site
redirection_headers_site
Appears in: redirection.4.6.1, redirection.4.6.2, redirection.4.7, redirection.4.7.1, redirection.4.7.2, redirection.4.8, redirection.4.9, redirection.4.9.1, redirection.4.9.2, redirection.5.0, redirection.5.0.1, redirection.5.1, redirection.5.1.1, redirection.5.1.2, redirection.5.1.3, redirection.5.2.3, redirection.5.3.0, redirection.5.3.10, redirection.5.3.2, redirection.5.3.3, redirection.5.3.4, redirection.5.3.5, redirection.5.3.6, redirection.5.3.9, redirection.5.4.1, redirection.5.4.2, redirection.5.5.0, redirection.5.5.1
Hook Type: filter
Displaying hooks found in version: redirection.5.5.1apply_filters('redirection_headers_site') is found 1 times:
- /models/header.php line 73
public function get_site_headers() { $headers = array_values( $this->remove_dupes( array_filter( $this->headers, [ $this, 'is_site_header' ] ) ) ); return apply_filters( 'redirection_headers_site', $headers ); } public function get_redirect_headers() { // Site ones first, then redirect - redirect will override any site ones $headers = $this->get_site_headers(); $headers = array_merge( $headers, array_values( array_filter( $this->headers, [ $this, 'is_redirect_header' ] ) ) );