Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?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
You can’t perform that action at this time.