PluginProbe ʕ •ᴥ•ʔ
Smart Custom 404 Error Page / 11.4.7
Smart Custom 404 Error Page v11.4.7
trunk 11.4.6 11.4.7 11.4.8
404page / shortcodes.php
404page Last commit date
assets 1 year ago inc 1 year ago 404page.php 1 year ago block.json 3 years ago block.php 1 year ago functions.php 1 year ago index.php 8 years ago loader.php 1 year ago readme.txt 1 year ago shortcodes.php 1 year ago uninstall.php 1 year ago
shortcodes.php
15 lines
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' );