mwform_styles
mwform_styles
Appears in: mw-wp-form.4.0.3, mw-wp-form.4.0.6, mw-wp-form.4.1.1, mw-wp-form.4.1.2, mw-wp-form.4.2.0, mw-wp-form.4.3.1, mw-wp-form.4.3.2, mw-wp-form.4.4.0, mw-wp-form.4.4.1, mw-wp-form.4.4.2, mw-wp-form.4.4.3, mw-wp-form.4.4.4, mw-wp-form.4.4.5, mw-wp-form.5.0.0, mw-wp-form.5.0.1, mw-wp-form.5.0.6, mw-wp-form.5.1.0
Hook Type: filter
Displaying hooks found in version: mw-wp-form.5.1.0apply_filters('mwform_styles') is found 2 times:
- /classes/controllers/class.admin.php line 35
*/ public function _add_meta_boxes() { global $post; $this->styles = apply_filters( 'mwform_styles', $this->styles ); $form_key = MWF_Functions::get_form_key_from_form_id( $post->ID ); $Form_Fields = MW_WP_Form_Form_Fields::instantiation( $form_key ); $form_fields = $Form_Fields->get_form_fields(); foreach ( $form_fields as $form_field ) { $form_field->add_tag_generator(); }
- /classes/functions.php line 477
$url = plugins_url( MWF_Config::NAME ); wp_enqueue_style( MWF_Config::NAME, $url . '/css/style.css' ); $style = $Setting->get( 'style' ); $styles = apply_filters( 'mwform_styles', array() ); if ( is_array( $styles ) && isset( $styles[ $style ] ) ) { $css = $styles[ $style ]; wp_enqueue_style( MWF_Config::NAME . '_style_' . $form_key, $css ); } wp_enqueue_script( MWF_Config::NAME, $url . '/js/form.js', array( 'jquery' ), false, true );