06/30/2014 at 10:26 am
#295466
Keymaster
@ Cara-Dee
Sure, here’s the code snippet:
function cn_cmap_add_submit_button( $atts, $results ) {
if ( $atts['enable_category_multi_select'] ) {
cnTemplatePart::submit( array( 'return' => FALSE ) );
}
}
add_action( 'cn_action_list_before-cmap', 'cn_cmap_add_submit_button', 99, 2 );
To use it, install the Code Snippets plugin. Add a new snippet, give it a name and description and paste in the code from above, save and activate. No file editing necessary!
That should do it.
