Array of ALL widgets on current page
-
I am trying to programmically get an array of information for every widget currently displayed on the current page. I’m using a plugin (Simple Page Sidebars) that allows me to use different sidebars on different pages. I’d like an array that shows all the widgets currently being used. I’ve tried functions like wp_get_sidebars_widgets, but that is tagged private and I can’t figure out another way of getting this information.
-
I’m using a plugin …
We provide support here only for WordPress.COM hosted blogs. That site is not among them. It`s a WordPress.ORG install and you are posting to the wrong support forum.
WordPress.COM and WordPress.ORG are completely separate and have different username accounts, logins, features, run different versions of some themes with the same names, and have separate support documentation and separate support forums. Read the differences here http://en.support.wordpress.com/com-vs-org/
If you don’t have a username account at WordPress.ORG and need support for that site in the future and if you do not have a WordPress.ORG account, then click http://wordpress.org/support/ and register one on the top right hand corner of the page that opens, so you can post to the support forums there.
Resetting your WordPress.ORG password http://codex.wordpress.org/Resetting_Your_Password
WordPress.org support docs are at https://codex.wordpress.org/Main_Page
- The topic ‘Array of ALL widgets on current page’ is closed to new replies.