|
1
|
<?php |
|
2
|
|
|
3
|
/** |
|
4
|
* The 404page Plugin Shortcodes
|
|
5
|
*
|
|
6
|
* @since 11.4.0
|
|
7
|
*
|
|
8
|
**/ |
|
9
|
|
|
10
|
if ( ! defined( 'ABSPATH' ) ) { |
|
11
|
exit; // Exit if accessed directly |
|
12
|
} |
|
13
|
|
|
14
|
// shortcode to show the url that caused the 404 error |
|
15
|
add_shortcode( 'pp_404_url', 'pp_404_get_the_url' );
|