Skip to main content
6 events
when toggle format what by license comment
Jan 30 at 12:58 comment added twigmac My takeaway: 1. Do not copy the parent constructor's signature (i.e. ($id_base, $name, $widget_options = array(), $control_options = array())). 2. Use a constructor with no parameters (i.e. __construct()) but 3. call the parent's constructor with arguments (e.g. parent::__construct( 'My_Widget', 'My widget', ...).
Oct 16, 2021 at 21:34 comment added Frank This is fantastic and resolved my setup- now up and running on PHP8. Many thanks!
Feb 21, 2021 at 14:58 comment added Jacob Peattie Unfortunately it looks like the Spanish documentation on the codex is extremely out of date. Use developer.wordpress.org if you can (I couldn't figure out how to check if there's decent Spanish translations).
Feb 21, 2021 at 14:50 comment added aitor Thanks! It works. Here in the codex remain the old method as an example: codex.wordpress.org/es:API_de_Widget#Desarrollando_Widgets.
Feb 21, 2021 at 14:46 vote accept aitor
Feb 21, 2021 at 14:28 history answered Jacob Peattie CC BY-SA 4.0