Last active
August 29, 2015 14:02
-
-
Save rahularyan/1c5855cdea3ecbd75bff to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//like you want to override form_field($field, $style), then do this: | |
qw_add_action('form_field', 'my_form_field_override'); | |
function my_form_field_override($themeclass, $field, $style){ | |
if (@$field['type'] == 'qw_qaads_multi_text') { | |
$themeclasss->form_prefix($field, $style); | |
$themeclass->qw_qaads_form_multi_text($field, $style); | |
$themeclass->form_suffix($field, $style); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment