WordPress.org

Ready to get started?Download WordPress

Forums

Multiple Category Selection Widget
Call reset_mcsw function after seaech (3 posts)

  1. danicasati
    Member
    Posted 2 years ago #

    Hi.
    In latest version of your plugin appears RESET button.
    It would be possibile to call this function after search?
    So, user will display clear combobox without reset manually.

    http://wordpress.org/extend/plugins/multiple-category-selection-widget/

  2. danicasati
    Member
    Posted 2 years ago #

    Ok, here is the solution:

    file /mcsw.php

    add after (line 112):
    $_SESSION['wpmm_search_vars'] = $type;

    unset($_SESSION['wpmm_cats']);
    unset($_SESSION['wpmm_search_vars']);

  3. saltyflavor
    Member
    Posted 1 year ago #

    this succeeds in clearing the combobox but removes the functionality of the plugin

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic