WC_QuickPay_Views

Class WC_QuickPay_Views.

Defined (1)

The class is defined in the following location(s).

/classes/woocommerce-quickpay-views.php  
  1. class WC_QuickPay_Views 
  2. /** 
  3. * Fetches and shows a view 
  4. * @param string $path 
  5. * @param array $args 
  6. */ 
  7. public static function get_view( $path, $args = array()) 
  8. if (is_array($args) && ! empty($args)) { 
  9. extract($args); 
  10.  
  11. $file = WCQP_PATH . 'views/' . trim($path); 
  12.  
  13. if (file_exists($file)) { 
  14. include $file;