fbpx

Need Help?

Here are some good places you cant start.

Join the Community

Whats New?

Get updated about all the good stuff!

Work With Query ID in Posts Selection

Give your Query a unique ID to be able and filter it in the server side using add_filter() function. 

This is how you do it: 


				
					//modify the arguments here. 
//widget data is an array with all widget settings
function modifyMyQuery($args, $widgetData){

	
	return($args);
}

add_filter("my_query_additions", "modifyMyQuery",10,2);

				
			

Note that $args variable is array of query arguments and not “query” object.

$widgetData is an key / value array of all widget options

 

Download is just a click away

Get instant access to tons of Elementor goodies, completely FREE!

Hurray!

You got FREE access to the worlds leading widgets for Elementor page builder!