How can i export and import my plugin option WordPress

Question

I am trying to export the plugin options that I created.

if(!get_option('myplugin_opts') ){
  add_option('myplugin_opts');
}

and also I want to know how I could import the options to WordPress for my plugin, thanks

0
Tom J Nowell 3 months 2022-05-23T16:30:37-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse