WordPress.org

Support

widget ID ?

  • digitalnature
    Member

    @digitalnature

    is there any way I can get the widget instance ID from inside the widget class?

    I tried $id, but it outputs the widget container id (eg. “sidebar-1”)

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘widget ID ?’ is closed to new replies.