Warning: Array to string conversion in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 808
PUM_Shortcode::get_template_styles()

Render the template based on shortcode classes methods.


Description Description


Warning: Array to string conversion in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 808

Return Return

(string|false)


Top ↑

Source Source

File: classes/Shortcode.php

	public function get_template_styles() {

		ob_start();

		$this->template_styles();

		/**  $this->_template_styles() is @deprecated and here in case shortcode doesn't yet have the new $this->template() method. */
		echo $this->_template_styles();

		$styles = ob_get_clean();

		return ! empty( $styles ) ? $styles : false;
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.