Your IP : 216.73.216.162


Current Path : /home/x/b/o/xbodynamge/namtation/wp-content/
Upload File :
Current File : /home/x/b/o/xbodynamge/namtation/wp-content/init-prevdem.php.tar

home/xbodynamge/crosstraining/wp-content/themes/zerif-lite/ti-prevdem/init-prevdem.php000060400000001653151131521320025336 0ustar00<?php
/**
 * Initialize preview on demo
 *
 * @package zerif-lite
 */

/**
 * Check if it is demo preview
 *
 * @return bool
 */
function zerif_isprevdem() {
	$ti_theme     = wp_get_theme();
	$theme_name   = $ti_theme->get( 'TextDomain' );
	$active_theme = zerif_get_raw_option( 'template' );
	return apply_filters( 'zerif_isprevdem', ( $active_theme != strtolower( $theme_name ) && ! is_child_theme() ) );
}

/**
 * All options or a single option val
 *
 * @param string $opt_name Option name.
 *
 * @return bool|mixed
 */
function zerif_get_raw_option( $opt_name ) {
	$alloptions = wp_cache_get( 'alloptions', 'options' );
	$alloptions = maybe_unserialize( $alloptions );
	return isset( $alloptions[ $opt_name ] ) ? maybe_unserialize( $alloptions[ $opt_name ] ) : false;
}

/**
 * Load functions if we're on demo preview.
 */
if ( zerif_isprevdem() ) {
	load_template( get_template_directory() . '/ti-prevdem/prevdem-functions.php' );
}
home/xbodynamge/dev/wp-content/themes/zerif-lite/ti-prevdem/init-prevdem.php000064400000001653151135612340023242 0ustar00<?php
/**
 * Initialize preview on demo
 *
 * @package zerif-lite
 */

/**
 * Check if it is demo preview
 *
 * @return bool
 */
function zerif_isprevdem() {
	$ti_theme     = wp_get_theme();
	$theme_name   = $ti_theme->get( 'TextDomain' );
	$active_theme = zerif_get_raw_option( 'template' );
	return apply_filters( 'zerif_isprevdem', ( $active_theme != strtolower( $theme_name ) && ! is_child_theme() ) );
}

/**
 * All options or a single option val
 *
 * @param string $opt_name Option name.
 *
 * @return bool|mixed
 */
function zerif_get_raw_option( $opt_name ) {
	$alloptions = wp_cache_get( 'alloptions', 'options' );
	$alloptions = maybe_unserialize( $alloptions );
	return isset( $alloptions[ $opt_name ] ) ? maybe_unserialize( $alloptions[ $opt_name ] ) : false;
}

/**
 * Load functions if we're on demo preview.
 */
if ( zerif_isprevdem() ) {
	load_template( get_template_directory() . '/ti-prevdem/prevdem-functions.php' );
}
home/xbodynamge/lebauwcentre/wp-content/themes/zerif-lite/ti-prevdem/init-prevdem.php000064400000001653151141105250025136 0ustar00<?php
/**
 * Initialize preview on demo
 *
 * @package zerif-lite
 */

/**
 * Check if it is demo preview
 *
 * @return bool
 */
function zerif_isprevdem() {
	$ti_theme     = wp_get_theme();
	$theme_name   = $ti_theme->get( 'TextDomain' );
	$active_theme = zerif_get_raw_option( 'template' );
	return apply_filters( 'zerif_isprevdem', ( $active_theme != strtolower( $theme_name ) && ! is_child_theme() ) );
}

/**
 * All options or a single option val
 *
 * @param string $opt_name Option name.
 *
 * @return bool|mixed
 */
function zerif_get_raw_option( $opt_name ) {
	$alloptions = wp_cache_get( 'alloptions', 'options' );
	$alloptions = maybe_unserialize( $alloptions );
	return isset( $alloptions[ $opt_name ] ) ? maybe_unserialize( $alloptions[ $opt_name ] ) : false;
}

/**
 * Load functions if we're on demo preview.
 */
if ( zerif_isprevdem() ) {
	load_template( get_template_directory() . '/ti-prevdem/prevdem-functions.php' );
}
home/xbodynamge/www/wp-content/themes/zerif-lite/ti-prevdem/init-prevdem.php000064400000001653151146735440023321 0ustar00<?php
/**
 * Initialize preview on demo
 *
 * @package zerif-lite
 */

/**
 * Check if it is demo preview
 *
 * @return bool
 */
function zerif_isprevdem() {
	$ti_theme     = wp_get_theme();
	$theme_name   = $ti_theme->get( 'TextDomain' );
	$active_theme = zerif_get_raw_option( 'template' );
	return apply_filters( 'zerif_isprevdem', ( $active_theme != strtolower( $theme_name ) && ! is_child_theme() ) );
}

/**
 * All options or a single option val
 *
 * @param string $opt_name Option name.
 *
 * @return bool|mixed
 */
function zerif_get_raw_option( $opt_name ) {
	$alloptions = wp_cache_get( 'alloptions', 'options' );
	$alloptions = maybe_unserialize( $alloptions );
	return isset( $alloptions[ $opt_name ] ) ? maybe_unserialize( $alloptions[ $opt_name ] ) : false;
}

/**
 * Load functions if we're on demo preview.
 */
if ( zerif_isprevdem() ) {
	load_template( get_template_directory() . '/ti-prevdem/prevdem-functions.php' );
}
home/xbodynamge/namtation/wp-content/themes/zerif-lite/ti-prevdem/init-prevdem.php000064400000001653151150733520024457 0ustar00<?php
/**
 * Initialize preview on demo
 *
 * @package zerif-lite
 */

/**
 * Check if it is demo preview
 *
 * @return bool
 */
function zerif_isprevdem() {
	$ti_theme     = wp_get_theme();
	$theme_name   = $ti_theme->get( 'TextDomain' );
	$active_theme = zerif_get_raw_option( 'template' );
	return apply_filters( 'zerif_isprevdem', ( $active_theme != strtolower( $theme_name ) && ! is_child_theme() ) );
}

/**
 * All options or a single option val
 *
 * @param string $opt_name Option name.
 *
 * @return bool|mixed
 */
function zerif_get_raw_option( $opt_name ) {
	$alloptions = wp_cache_get( 'alloptions', 'options' );
	$alloptions = maybe_unserialize( $alloptions );
	return isset( $alloptions[ $opt_name ] ) ? maybe_unserialize( $alloptions[ $opt_name ] ) : false;
}

/**
 * Load functions if we're on demo preview.
 */
if ( zerif_isprevdem() ) {
	load_template( get_template_directory() . '/ti-prevdem/prevdem-functions.php' );
}