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 :: attachments( Array / String $args = array() )
Retrieves a collection of attachment objects for the given query arguments.
Note: The args parameter for this method is a preset for WordPress’ get_posts function that is forced to query for the attachment post_type.
Array / String $args = array()
An arguments array / query string compatible with wp_parse_args with the following defaults:
* numberposts = -1,
* order = ASC,
* orderby = menu_order ID