Hello,
Please how can I add confirm action support when deleting an activity. I want users to confirm their actions before deleting activity updates using your plugin https://buddydev.com/plugins/bp-confirm-actions/
Thanks
Hi Tosin,
Thank you for the topic.I will ask @ravisharma to look into it and update you tomorrow.
Thank you
BrajeshHello Tosin,
I have added the support for activity delete in the plugin. New settings section are implemented in the plugin when you can enable the confirm action for delete activity. Please download the latest version of the plugin.
You can download it here
https://buddydev.com/plugins/bp-confirm-actions/Please let me know if it works or not.
Regards
RaviHello,
I just found out why it’s not working, I am using a custom code in my bp-custom.php file
function bpdelete_remove_activity_delete_text(){ $url = bp_get_activity_delete_url(); $class = 'delete-activity'; $link = '<a href="' . esc_url( $url ) . '" class="button item-button bp-secondary-action delete-activity confirm no-ajaxy fas fa-trash-alt" rel="nofollow">' . __( '', 'buddypress' ) . '</a>'; return $link; } add_filter('bp_get_activity_delete_link', 'bpdelete_remove_activity_delete_text' );
How can I make it work while using this code
Thanks
The topic ‘ [Resolved] Activity confirm action support for confirm bp action plugin’ is closed to new replies.