Stellar
-
Thank you very much for offering this! Only thing is, I wanted to dequeue the CSS and integrate it into my main CSS file. I’m using the following child class, can you suggest anything sleeker?
class DequeueCFStyle extends ContactForm7ConditionalFields {private static $instance;
public static function get_instance() {
if ( empty( self::$instance ) ) {
self::$instance = new self;
}
return self::$instance;
}function __construct() {
remove_action('wpcf7_enqueue_styles', array( 'ContactForm7ConditionalFields', 'enqueue_css'));
}}
DequeueCFStyle::get_instance();
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Stellar’ is closed to new replies.