PATH:
home
/
letacommog
/
ldqm1
/
wp-content
/
plugins
/
wordpress-seo
/
src
/
helpers
<?php namespace Yoast\WP\SEO\Helpers; /** * A helper object for redirects. */ class Redirect_Helper { /** * Wraps wp_redirect to allow testing for redirects. * * @param string $location The path to redirect to. * @param int $status The status code to use. * * @codeCoverageIgnore It only wraps a WordPress function. */ public function do_redirect( $location, $status = 302 ) { \wp_redirect( $location, $status, 'Yoast SEO' ); exit; } /** * Wraps wp_safe_redirect to allow testing for safe redirects. * * @param string $location The path to redirect to. * @param int $status The status code to use. * * @codeCoverageIgnore It only wraps a WordPress function. */ public function do_safe_redirect( $location, $status = 302 ) { \wp_safe_redirect( $location, $status, 'Yoast SEO' ); exit; } }
[+]
..
[-] pagination-helper.php
[edit]
[-] post-type-helper.php
[edit]
[-] options-helper.php
[edit]
[+]
open-graph
[-] environment-helper.php
[edit]
[-] image-helper.php
[edit]
[-] user-helper.php
[edit]
[-] notification-helper.php
[edit]
[-] string-helper.php
[edit]
[-] url-helper.php
[edit]
[-] author-archive-helper.php
[edit]
[-] capability-helper.php
[edit]
[-] taxonomy-helper.php
[edit]
[-] permalink-helper.php
[edit]
[-] indexing-helper.php
[edit]
[-] date-helper.php
[edit]
[+]
schema
[-] meta-helper.php
[edit]
[-] primary-term-helper.php
[edit]
[-] redirect-helper.php
[edit]
[-] blocks-helper.php
[edit]
[-] language-helper.php
[edit]
[-] current-page-helper.php
[edit]
[-] robots-helper.php
[edit]
[-] indexable-helper.php
[edit]
[-] home-url-helper.php
[edit]
[-] short-link-helper.php
[edit]
[+]
twitter
[-] site-helper.php
[edit]
[-] post-helper.php
[edit]
[-] product-helper.php
[edit]
[-] woocommerce-helper.php
[edit]