Content of the page

$WPCS->storage->set_val()

Content of the article

This function works with WPCS storage where keeps different values, current currency for example.

Possible keys:

  • wpcs_current_currency - here keeps selected on the front current currency code

You can use this function to keep any your own intermediate values by your own logic to use them for example in the code of any another plugin or wp theme functionality! Get any value from the plugin storage by $WPCS->storage->get_val() function.