Modify 404 url

0.0/5
<?php
function wpd_prepare_url( $data ) {
    // (maybe) do something with the args.
	$data['url'] = $_SERVER['HTTP_HOST'] + $data['url'];
	return $data;
}
add_action( 'jj4t3_before_logging', 'wpd_prepare_url', 10, 1 );

Comments and reviews

{{ reviewsTotal }} Review
{{ reviewsTotal }} Reviews
{{ options.labels.newReviewButton }}
{{ userData.canReview.message }}

Description

This snippet was fetched automatically from WPDistro.cz projects.

Author

Tags

This snippet is untagged