File: /home/elrashedytravel/public_html/wp-content/themes/custom_functions_1767952383/functions.php
<?php
/**
* Theme bootstrap
*
* @package Yuki Minimalist Blog
*/
// don't call the file directly
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
if ( ! defined( 'YUKI_MINIMALIST_BLOG_VERSION' ) ) {
// Replace the version number of the theme on each release.
define( 'YUKI_MINIMALIST_BLOG_VERSION', '1.0.3' );
}
if ( ! defined( 'YUKI_MINIMALIST_BLOG_PATH' ) ) {
define( 'YUKI_MINIMALIST_BLOG_PATH', trailingslashit( get_stylesheet_directory() ) );
}
if ( ! defined( 'YUKI_MINIMALIST_BLOG_URL' ) ) {
define( 'YUKI_MINIMALIST_BLOG_URL', trailingslashit( get_stylesheet_directory_uri() ) );
}
if ( ! defined( 'YUKI_MINIMALIST_BLOG_ASSETS_URL' ) ) {
define( 'YUKI_MINIMALIST_BLOG_ASSETS_URL', YUKI_MINIMALIST_BLOG_URL . 'assets/' );
}
if ( ! function_exists( 'yuki_minimalist_blog_image_url' ) ) {
/**
* Get image url
*
* @param $image
*
* @return string
*/
function yuki_minimalist_blog_image_url( $image ) {
return YUKI_MINIMALIST_BLOG_ASSETS_URL . 'images/' . $image;
}
}
// require customizer options
require_once YUKI_MINIMALIST_BLOG_PATH . 'customizer.php';
// require theme starter content
require_once YUKI_MINIMALIST_BLOG_PATH . 'starter-content.php';