Browsing:

Tag: delete option

options in wordpress

options is safe way of adding a named option and value in the options database table. It does nothing if the option already exists. After the option is saved, it can be accessed with get_option(), changed with update_option(), and deleted with delete_option() and add with add_option(). You do not need to serialize values. If the value needs to be serialized, then it will be serialized before it is inserted into Read more…