Inventory_Presser_Shortcode_Hours_Today::add()

add

Description Description

Adds two shortcodes


Top ↑

Return Return

(void)


Top ↑

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' ) );
	}