It was brought to our attention that MasterPress would give a tonne of warnings and deprecation notices when used with PHP 7.4 – this update addresses those.
WOOF :: posts_not_in( Array / String $ids, Arguments $args = array() )
Array / String $ids
Either an array of post IDs, or a CSV separated string of IDs (do not use spaces after the commas)
Arguments $args = array()
An arguments array or string, as used in the WordPress function get_posts, which uses the same defaults as that function, with the following changes:
- post_type = any
- posts_per_page = -1
- order = asc
- posts__not_in = an array of ids in the ids parameter (enforced, cannot be changed)
This can also be made to use query_posts instead of get_posts, by setting a “query” parameter to 1.