Last active
December 10, 2019 10:49
-
-
Save csaborio001/139cae8a09feb2caea38105a932d38b4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( UserManagement::can_current_user_access_member_page() ) { | |
// Returns a WP_Query object. | |
$unmatched_volunteers = UserManagement::get_unmatched_volunteers( true ); | |
} | |
$args = array( | |
'post_type' => 'volunteer', | |
'posts_per_page' => '10', | |
'button_label' => 'Show More Posts', | |
'button_loading_label' => 'Loading...', | |
'scroll' => 'false', | |
'post__in' => implode( ',', $unmatched_volunteers->posts ), | |
'repeater' => 'template_1', | |
); | |
if ( function_exists( 'alm_render' ) ) { | |
alm_render( $args ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment