Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block NicolasLRD

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
NicolasLRD / functions.php
Created Apr 3, 2019
Wordpress Widget : List pages of parent page
View functions.php
function template_register_widget() {
register_widget( 'my_widget' );
add_action( 'widgets_init', 'template_register_widget' );
class my_widget extends WP_Widget {
function __construct() {
You can’t perform that action at this time.