Inventory_Presser_Shortcode_Hours_Today::add()
add
On This Page
Description Description
Adds two shortcodes
Return Return
(void)
Source Source
File: includes/shortcode/class-shortcode-hours-today.php
function add() {
// add a shortcode that outputs hours today
add_shortcode( self::SHORTCODE_TAG, array( $this, 'driver' ) );
add_shortcode( str_replace( '_', '-', self::SHORTCODE_TAG ), array( $this, 'driver' ) );
}
Expand full source codeCollapse full source codeView on Github