bp_get_avatar_delete_link()

Return an avatar delete link.


Return Return

(string)


Source Source

File: bp-members/bp-members-template.php

	function bp_get_avatar_delete_link() {

		/**
		 * Filters the link used for deleting an avatar.
		 *
		 * @since 1.1.0
		 *
		 * @param string $value Nonced URL used for deleting an avatar.
		 */
		return apply_filters( 'bp_get_avatar_delete_link', wp_nonce_url( bp_displayed_user_domain() . bp_get_profile_slug() . '/change-avatar/delete-avatar/', 'bp_delete_avatar_link' ) );
	}


Top ↑

Changelog Changelog

Changelog
Version Description
6.0.0 Moved from /bp-xprofile/bp-xprofile-template.php to this file.
1.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.