Where Headspace2 Plugin store data

HeadSpace2 is a SEO plugin of WordPress.

For some reason I need to operate Headspace2 data in my own code. So I checked the database and found the data are stored in ‘wp_postmeta’.

What I need is just ‘title’ and ‘description’ meta. In that table, they are indicated by the column ‘meta_key’.

  • ‘title’ is ‘ _headspace_page_title’
  • ‘description’ is ‘_headspace_description’

 

Using the value to change the post meta

Then for change the post title and description meta programmatically. Need some hooks, maybe this one. Haven’t been checked yet.

http://wordpress.stackexchange.com/questions/51871/how-to-programatically-set-the-post-title-of-a-cpt-on-wp-admin

Leave a Reply