You appear to be a bot. Output may be restricted
Description
Implement "init" action for oik-shortcodesHandle requests to http://www.oik-plugins.com/oik-shortcodes/%oik-shortcode%?callback=callback_function to find the %oik-shortcode% and redirect to the definition. If it's missing then perhaps it should be logged for creation.
Usage
oiksc_shortcode_rewrite();
Parameters
Returns
voidSource
File name: oik-shortcodes/oik-shortcodes.phpLines:
1 to 7 of 7
function oiksc_shortcode_rewrite() { add_rewrite_tag( "%oik-shortcode%", '([^/]+)' ); add_rewrite_tag( "%oik-function%", '([^/]+)' ); // add_permastruct( 'oik-shortcode', 'oik-shortcodes/%oik-shortcode%' ); add_permastruct( 'oik-shortcode', 'oik-shortcodes/%oik-shortcode%/%oik-function%/' ); // add_action( "template_redirect", "oiksc_template_redirect" ); }View on GitHub