dexit / wp-super-duper

A WordPress Class to build a widget,shortcode and Gutenberg block, from the creators of https://wpgeodirectory.com

Home Page:https://geodirectoryexperts.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wp-super-duper

A WordPress Class to build a widget, shortcode and Gutenberg block at once.

V1 to V2 migration

  • Change how you load the widgets
// SD V1 used to extend the widget class. V2 does not, so we cannot call register_widget() on it.
$widget = 'SD_Hello_World';
if ( is_subclass_of( $widget, 'WP_Widget' ) ) { // SD V1 is loaded.
	register_widget( $widget );
} else {
	new $widget(); // SD V2 is loaded.
}

About

A WordPress Class to build a widget,shortcode and Gutenberg block, from the creators of https://wpgeodirectory.com

https://geodirectoryexperts.com


Languages

Language:PHP 100.0%