WordPress get meta data from wp_options table

0

How to get data/meta data from the wp_options table in the wordpress .In this table, option_values¬†are(some values) saved as serialized .So directly we can’t get those values.Now I’ll tell you easy method to get this value from wp_options table.
I want to get option name – “feedburnercount/feedburnercount.php”, values.
Values like this.

a:24:{i:0;s:43:”broken-link-checker/broken-link-checker.php”;i:1;s:43:”clean-notifications/clean-notifications.php”;i:2;s:32:”crpostwarning/cr-postwarning.php”;i:3;s:35:”fancybox-for-wordpress/fancybox.php”;i:4;s:35:” feedburnercount/feedburnercount.php”;i:5;s:53:” generate-post-thumbnails/generate-post-thumbnails.php”;}

(I want to get 53)

First get data of the “active_plugins”.

Now these data must be unserialize.

Share.

About Author

Sumith Harshan is the Web Engineer Specializes in Java Script, JQuery, HTML4/5, CSS2/3, PHP, CodeIgniter, CakePHP, J2SE, J2EE, XML, Hacking & Security, Mobile Interface Developing, Magento, Wordpress, Joomla, Drupal,PHPBB,Facebook App Developing and Open cart...etc.