/**
  * Return the AvadaRedux path info, if had.
  *
  * @since     1.0.0
  * @return    object    A single instance of this class.
  */
 public static function get_avadaredux_details($php_files = array())
 {
     if (self::$avadaredux_details === null) {
         foreach ($php_files as $php_key => $phpfile) {
             if (strpos($phpfile, 'class' . ' AvadaReduxFramework {') !== false) {
                 self::$avadaredux_details = array('filename' => strtolower(basename($php_key)), 'path' => $php_key);
                 self::$avadaredux_details['dir'] = str_replace(basename($php_key), '', $php_key);
                 self::$avadaredux_details['parent_dir'] = str_replace(basename(self::$avadaredux_details['dir']) . '/', '', self::$avadaredux_details['dir']);
             }
         }
     }
     if (self::$avadaredux_details === null) {
         self::$avadaredux_details = false;
     }
     return self::$avadaredux_details;
 }