/** * @covers FrmStylesController::custom_stylesheet */ private function get_custom_stylesheet() { global $frm_vars; $frm_vars['css_loaded'] = false; $stylesheet_urls = FrmStylesController::custom_stylesheet(); $this->assertTrue(isset($stylesheet_urls['formidable']), 'The stylesheet array is empty'); return $stylesheet_urls; }
public static function custom_stylesheet() { _deprecated_function(__FUNCTION__, '2.0.9', 'FrmStylesController::custom_stylesheet'); return FrmStylesController::custom_stylesheet(); }