Forums

widget ID ? (2 posts)

  1. digitalnature
    Member
    Posted 2 months ago #

    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")

  2. digitalnature
    Member
    Posted 2 months ago #

    found it.

    $args['widget_id']

Reply

You must log in to post.

About this Topic

Tags