Skip to navigation Skip to content
A to Z Listing Plugin for WordPress
  • My account
  • Home
  • Shop
  • About the plugin
  • Documentation
    • Short-code options
    • Frequently Asked Questions
    • Code reference
  • Support Centre
    • New support request
  • Privacy
  • Home
  • Shop
  • About the plugin
  • Documentation
    • Short-code options
    • Frequently Asked Questions
    • Code reference
  • Support Centre
    • New support request
  • Privacy
  • £0.00 0 items
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
Home / Method / A_Z_Listing_Widget::enqueue_if_active

A_Z_Listing_Widget::enqueue_if_active()

Enqueue scripts and stylesheets if the widget is active on the page


Description


Return

(void)


Source

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

	public function enqueue_if_active() {
		if ( false !== is_active_widget( false, false, $this->id_base, true ) ) {
			a_z_listing_do_enqueue();
		}
	}

Expand full source code Collapse full source code


Changelog

Changelog
VersionDescription
4.0.0Introduced.

Related

Uses

  • functions/enqueues.php: a_z_listing_do_enqueue()
© Bowl Hat 2023
Privacy
  • My Account
  • Search
  • Basket 0

The store is currently having issues. Please do not order for now, as your products will not be activatable. We are working hard to get this fixed ASAP. Dismiss