Skip to content
WordPress.org
  • News
  • Showcase
  • Hosting
    • Themes
    • Plugins
    • Patterns
    • Blocks
    • Openverse ↗︎
    • Learn WordPress
    • Documentation
    • Forums
    • Developers
    • WordPress.tv ↗︎
    • Make WordPress
    • Photo Directory
    • Five for the Future
    • Events
    • Job Board ↗︎
    • About WordPress
    • Enterprise
    • Gutenberg ↗︎
  • Get WordPress
Get WordPress
WordPress.org

WordPress Developer Resources

WP_HTML_Token::__wakeup()

  • Developer Blog
  • Code Reference
  • WP-CLI Commands
  • Developer Blog
  • Code Reference
  • WP-CLI Commands
HomeReferenceClassesWP_HTML_TokenWP_HTML_Token::__wakeup()

    WP_HTML_Token::__wakeup()

    In this article

    • Source
    • Changelog

    ↑ Back to top

    Wakeup magic method.

    Source

    wp-includes/html-api/class-wp-html-token.php
    Copy
    	$this->has_self_closing_flag = $has_self_closing_flag;
    	$this->on_destroy            = $on_destroy;
    }
    

    View all references View on Trac View on GitHub

    Changelog

    VersionDescription
    6.4.2Introduced.

    User Contributed Notes

    You must log in before being able to contribute a note or feedback.

    • About
    • News
    • Hosting
    • Privacy
    • Showcase
    • Themes
    • Plugins
    • Patterns
    • Learn
    • Documentation
    • Developers
    • WordPress.tv ↗
    • Get Involved
    • Events
    • Donate ↗
    • Five for the Future
    • WordPress.com ↗
    • Matt ↗
    • bbPress ↗
    • BuddyPress ↗
    WordPress.org
    WordPress.org
    • Visit our Facebook page
    • Visit our X (formerly Twitter) account
    • Visit our Instagram account
    • Visit our LinkedIn account
    • Visit our YouTube channel
    Code is Poetry

    Notifications