Description
Implement "oik_add_shortcodes" action for UK tidesDefers the registration of the [bw_tides] shortcode until it's been determined that shortcodes are being used The code for the shortcode is not loaded until actually required.
Usage
uk_tides_init();Parameters
Returns
voidSource
File name: uk-tides/uk-tides.phpLines:
1 to 5 of 5
function uk_tides_init() { if ( function_exists( "bw_add_shortcode" ) ) { bw_add_shortcode( 'bw_tides', 'bw_tides', oik_path( "shortcodes/uk-tides.php", "uk-tides"), false ); } }View on GitHub View on Trac
