A_Z_Widget::__construct()

Register the widget’s meta information.


Description


Source

File: widgets/class-a-z-widget.php

	function __construct() {
		parent::__construct('bh_az_widget', __( 'A-Z Site Map', 'a-z-listing' ), array(
			'classname' => 'a-z-listing-widget',
			'description' => __( 'Alphabetised links to the A-Z site map', 'a-z-listing' ),
		));

		if ( is_active_widget( false, false, $this->id_base, true ) ) {
			a_z_listing_add_styling();
		}
	}

Changelog

Changelog
Version Description
0.1 Introduced.


User Contributed Notes

You must log in before being able to contribute a note or feedback.

This site uses Akismet to reduce spam. Learn how your comment data is processed.