About where to save the settings plug-in
Categories: memorandum function
2008-09-17 Last update:
2008-09-05: Sun Posts
Where to save the settings of the plug-in is like a table called wp_options good.
That it was anxious that, in the other plug-ins that what has been where to store the set value.
Not appear to mean that, in the folder that stores data in a simple text very much.
Create a new table in the database No way! ? I thought, but it seems different.
If you examine some of the plug-in there, I want to have stored in a table called wp_options WordPress database has. This table I have housed a variety of information.
I tried to examine the "option_value" field and "option_name" field.
- siteurl
- URL of homepage
- blogname
- The name of the blog
- blogdescription
- Version of WordPress
(Which was kinda burdensome too much) · · · various other
I mean that, and let's try to feel the same way as any other plug-in plug-in to limit the category that try to create here. However, I need to become a fully configured screen Sonaruto · · ·. Is the destination for the time being I ·.
Add items to a new setting in the "add_option" By the way,
Read in "get_option",
I want that can be updated by "update_option".
- Tag
- Add_option , get_option , update_option , Wp_options
- Trackback URL





























[...] · Http://www.is-p.cc/wordpress/function-tips/wp_options/302 [...]