apply_filters_ref_array( 'noptin_subscribers_pre_query', array|null $results, Noptin_Subscriber_Query $this )

Filters the subscribers query array before the query takes place.

Description Description

Return a non-null value to bypass the default Noptin subscriber queries. Filtering functions that require pagination information are encouraged to set the total_subscribers property of the Noptin_Subscriber_Query object, passed to the filter by reference. If Noptin_Subscriber_Query does not perform a database query, it will not have enough information to generate these values itself.

Top ↑

Parameters Parameters


(array|null) Return an array of subscriber data to short-circuit the subscriber query or null to allow Noptin to run its normal queries.


(Noptin_Subscriber_Query) The Noptin_Subscriber_Query instance (passed by reference).

Top ↑

Source Source

File: includes/class-noptin-subscriber-query.php

View on GitHub

Top ↑

Changelog Changelog


Top ↑

User Contributed Notes User Contributed Notes

30 day money back guarantee
Safe & Secure online payment
Custom CSS Slide Example
Custom Animation Example
Default Animation