Inventory_Presser_Shortcode_Hours_Today::append_shortcode( string $content )

append_shortcode

Description Description

Filter callback that appends the shortcode to the end of a string of content.


Top ↑

Parameters Parameters

$content

(string) (Required)


Top ↑

Return Return

(string) The provided $content with the shortcode appended to the end


Top ↑

Source Source

File: includes/shortcode/class-shortcode-hours-today.php

	function append_shortcode( $content ) {
		return trim( $content . ' <p>[' . self::SHORTCODE_TAG . ']</p>' );
	}