parent::__construct still generates error The called constructor method for WP_W
-
Hello,
I have folowing code in functions.php:
class XXXXXXX extends WP_Widget { function __construct() { parent::__construct( 'XXXXXX', 'Blog categories', array( 'description' => 'This widget displays blog categories in 2 columns', ) ); } ... }
but still I see folowing error:
The called constructor method for WP_Widget is deprecated since version 4.3.0! Use __construct() instead.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘parent::__construct still generates error The called constructor method for WP_W’ is closed to new replies.