bp_get_message_notice_delete_link()
Get the URL for deleting the current notice.
Description
Return
(string) Delete URL.
Source
File: bp-messages/bp-messages-template.php
function bp_get_message_notice_delete_link() {
global $messages_template;
/**
* Filters the URL for deleting the current notice.
*
* @since BuddyPress 1.0.0
*
* @param string $value URL for deleting the current notice.
* @param string $value Text indicating action being executed.
*/
return apply_filters( 'bp_get_message_notice_delete_link', wp_nonce_url( trailingslashit( bp_loggedin_user_domain() . bp_get_messages_slug() . '/notices/delete/' . $messages_template->thread->id ), 'messages_delete_notice' ) );
}
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.