includes/class-tste-funcs.php
/**
		 *
		 *	Function sc_custom_style_hook
		 *  @return Automation: load custom style necessary for shortcode through dummystyle.css
		 *	@since 	1.0.0
		 *
		 **/
Function sc_custom_style_hook
@return Automation: load custom style necessary for shortcode through dummystyle.css
@since  1.0.0
Function sc_custom_style_hook @return Automation : load custom style necessary for shortcode through dummystyle . css @since 1 . 0 . 0
public function sc_custom_style_hook ($class_id, $style) {
			$styleblock = '.' . $class_id . '{' . $style . '}';
			if ($this->tste_settings['gn_theme_ajax'] === 'true') {
				echo '<style id="style-' . $class_id . '" type="text/css">'
					. $styleblock
					. '</style>';
			}else{
				wp_enqueue_style(__TSTE_TOKEN__ . '-dummystyle');
				wp_add_inline_style(__TSTE_TOKEN__ . '-dummystyle', $styleblock);
			}
		}
public function sc_custom_style_hook ( $ class_id , $ style ) { $ styleblock = '.' . $ class_id . '{' . $ style . '}' ; if ( $ this -> tste_settings [ 'gn_theme_ajax' ] === 'true' ) { echo '<style id="style-' . $ class_id . '" type="text/css">' . $ styleblock . '</style>' ; } else { wp_enqueue_style ( __TSTE_TOKEN__ . '-dummystyle' ) ; wp_add_inline_style ( __TSTE_TOKEN__ . '-dummystyle' , $ styleblock ) ; } }
Function sc_custom_style_hook
  @return Automation: load custom style necessary for shortcode through dummystyle.css
      @since  1.0.0
Function sc_custom_style_hook @return Automation : load custom style necessary for shortcode through dummystyle . css @since 1 . 0 . 0