Last active
June 18, 2024 13:01
-
-
Save yuriinalivaiko/b1dc305b1a821853663c408ddd8eed9a to your computer and use it in GitHub Desktop.
Ultimate Member - Social Activity
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
<?php | |
// Change the Activity wall image permalinks to plain. | |
add_action( 'wp_ajax_um_activity_load_wall', 'um_activity_load_wall_permalinks', 9 ); | |
add_action( 'wp_ajax_nopriv_um_activity_load_wall', 'um_activity_load_wall_permalinks', 9 ); | |
function um_activity_load_wall_permalinks() { | |
UM()->is_permalinks = false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment