Forums › Forums › Search & Filter Pro › Filter on EDD Search Results
- This topic has 60 replies, 3 voices, and was last updated 8 years, 8 months ago by Ross.
-
Ross Moderator(Private) April 16, 2016 at 12:06 am #42911
Hey Adam
Turns out they have two actions after a submissions is published 🙂
So you need to add to your functions.php (the second two actions might not be necessary but first two for sure):
add_action('fes_submission_form_edit_published', 'sf_edd_fes_submission_form_published', 20, 1); add_action('fes_submission_form_new_published', 'sf_edd_fes_submission_form_published', 20, 1); add_action('fes_submission_form_edit_pending', 'sf_edd_fes_submission_form_published', 20, 1); // this might not be necessary add_action('fes_submission_form_new_pending', 'sf_edd_fes_submission_form_published', 20, 1); // this might not be necessary function sf_edd_fes_submission_form_published($post_id) { do_action('search_filter_update_post_cache', $post_id); }
🙂
Trevor(Private) April 17, 2016 at 10:39 am #42983If you have cPanel you can use the file manager to upload the archive file to the wp-content/plugins folder. Delete the old
search-filter-pro
folder, then extract the archive file you uploaded.Or, using ftp, upload the contents of the archive file to overwrite existing files.
DO NOT under ANY circumstances use the WordPress plugins page to remove the plugin, as this will also delete any search forms that you have made!!
-
AuthorPosts