Skip to content
Snippets Groups Projects
Select Git revision
  • bf1b3c6fa731818b65d440aa79b5ca9f15921091
  • main default protected
  • devel
  • 1.0.0
4 results

StyleInliner.php

Blame
  • InitCompat.php 328 B
    <?php
    /**
     * This file have to be compatible with PHP >=5.6 to gracefully handle outdated client's websites.
     */
    
    namespace WPDesk\Init;
    
    class InitCompat {
    
    	public static function from_config( $config_path ) {
    		require __DIR__ . '/platform_check.php';
    
    		$init = new PluginInit( $config_path );
    
    		return $init->init();
    	}
    
    }