Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Inventory_Presser_Shortcode_Archive::clean_attributes_for_query( array $atts )

clean_attributes_for_query


Description Description

Removes shortcode attributes from the attributes array that are not also query parameters for a posts query.


Top ↑

Parameters Parameters

$atts

(array) (Required)


Top ↑

Return Return

(array)


Top ↑

Source Source

File: includes/class-shortcode-archive.php

	private function clean_attributes_for_query( $atts )
	{
		unset( $atts['show_titles'] );
		return $atts;
	}