Forums

Widget Id Code Location and Management (1 post)

  1. hhanna
    Member
    Posted 7 months ago #

    I have a widget registered named 'Classroll.' When viewing the the global $wp_registered_widgets, it appears as "classroll-1"

    My questions is this: How is the widget id managed?

    By managed, I'm really asking:
    How and where does that id get created?
    Where is the code that increments the number?
    How/where is it stored in the db?

Reply

You must log in to post.

About this Topic