08/06/2014 at 11:29 am
#299883
Keymaster
@ Kyle
Use the connectionsEntryList() function. You can pass an associative array $atts. The array accepts all the same options as the shortcode does. The keys in the associative array would be the shortcode option names. Here’s an example:
$atts = array(
'template' => 'card',
'order_by' => 'organization, department, sort_column',
'category' => '2',
);
connectionsEntryList( $atts );
Hope that helps you with your project.
