File "Buttons.php"

Full Path: /home/pumpbmko/public_html/themes/momota/lib/kubio-themebase/src/Components/FrontHeader/Buttons.php
File size: 716 bytes
MIME-type: text/x-php
Charset: utf-8

<?php


namespace Kubio\Theme\Components\FrontHeader;

use ColibriWP\Theme\Components\FrontHeader\ButtonsGroup;
use ColibriWP\Theme\View;

class Buttons extends ButtonsGroup {

	protected static $settings_prefix = 'front-header.buttons.';

	public static function selectiveRefreshSelector() {
		return "[data-kubio-partial-refresh='buttons']";
	}

	public function renderContent( $parameters = array() ) {

		if ( $this->mod( static::$settings_prefix . 'show', true ) ) {  ?>
	<div data-kubio-partial-refresh='buttons'>
				<?php
				View::partial(
					'front-header',
					'buttons',
					array(
						'component' => $this,
					)
				);
				?>
	  </div>
			<?php
		}
	}

	public function renderTemplate() {

	}
}