Yes. That what I did. members.php
<?php do_action(‘um_members_directory_search’, $args ); ?>
<?php do_action(‘um_members_directory_head’, $args ); ?>
<?php do_action(‘um_members_directory_display’, $args ); ?>
<?php do_action(‘um_members_directory_footer’, $args ); ?>
I tried to used:
remove_action(‘publish_post’, ‘old_action’);
add_action(‘publish_post’, ‘new_action’);
But it’s not working.
So what I did is. I just copy the functions from um-actions-members.php to /theme-folder/ultimate-member/templates/members.php placed the four do_action. I’m not sure if it’s the best practices.