redirect_post_location

redirect_post_location

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('redirect_post_location') is found 1 times:

  • /wp-admin/includes/post.php line 2218
    2214
    2215
    2216
    2217
    2218
    2219
    2220
    2221
    2222
    2223
    2224
         *
         * @param string $location The destination URL.
         * @param int    $post_id  The post ID.
         */
        wp_redirect( apply_filters( 'redirect_post_location', $location, $post_id ) );
        exit;
    }
     
    /**
     * Sanitizes POST values from a checkbox taxonomy metabox.
     *

See this hook used in plugins: