<?php
/**
 * Ninja functions and definitions
 *
 * @package ninja
 */

 /**
  * @file - init.php
  * @desc - Contain standard script and function to initial project in beginning stage.
  * @path - theme template folder  > init.pp
 */
include "init.php";

/**
 * @return any - return templete section structure or custom query 
 * @desc - to organize the file structure and easy to debug script. this function will get the templete, php script or custom WP_QUERY from the component folder and apply to the give shortcode name.
 */
// add_shortcode( '<name-of-the-shortcode>', '<func-name>');
// function <func-name>(){
//     ob_start();

//     do_shortcode(get_template_part('components/<page-folder>/<feature-name>','<type>')); //example::do_shortcode(get_template_part('components/home/product-category','section'))
      
//     wp_reset_query();

//     return ob_get_clean(); 
// }