Warning: This class has been deprecated.
PUM_Popup_Query
Class PUM_Popup_Query
Description Description
Source Source
File: includes/deprecated-classes.php
class PUM_Popup_Query { /** * The args to pass to the pum_get_popups() query * * @var array * @access public */ public $args = array(); /** * Default query arguments. * * Not all of these are valid arguments that can be passed to WP_Query. The ones that are not, are modified before * the query is run to convert them to the proper syntax. * * @param array $args The array of arguments that can be passed in and used for setting up this popup query. */ public function __construct( $args = array() ) { $this->args = $args; } /** * Retrieve popups. * * The query can be modified in two ways; either the action before the * query is run, or the filter on the arguments (existing mainly for backwards * compatibility). * * @access public * @return object */ public function get_popups() { return pum_get_popups( $this->args ); } }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
1.8.0 | Introduced. |
Methods Methods
- __construct — Default query arguments.
- get_popups — Retrieve popups.