PluginProbe ʕ •ᴥ•ʔ
Smart Custom 404 Error Page / 11.4.6
Smart Custom 404 Error Page v11.4.6
trunk 11.4.6 11.4.7 11.4.8
404page / shortcodes.php
404page Last commit date
assets 2 years ago inc 2 years ago 404page.php 2 years ago block.json 2 years ago block.php 2 years ago functions.php 2 years ago index.php 2 years ago loader.php 2 years ago readme.txt 2 years ago shortcodes.php 2 years ago uninstall.php 2 years ago
shortcodes.php
19 lines
1 <?php
2
3 /**
4 * The 404page Plugin Shortcodes
5 *
6 * @since 11.4.0
7 *
8 **/
9
10 // If this file is called directly, abort
11 if ( ! defined( 'WPINC' ) ) {
12 die;
13 }
14
15
16 // shortcode to show the url that caused the 404 error
17 add_shortcode( 'pp_404_url', 'pp_404_get_the_url' );
18
19 ?>