Docs: After [37329], update the documentation for `register_widget()` and `unregister_widget()`.
Both functions can accept a `WP_Widget` instance object instead of a `WP_Widget` subclass name, same as `WP_Widget_Factory::register()` and `::unregister()`. Props behzod. Fixes #42270. Built from https://develop.svn.wordpress.org/trunk@41942 git-svn-id: https://core.svn.wordpress.org/trunk@41776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Loading
Please register or sign in to comment