Changeset 12555 for trunk/src/bp-xprofile/bp-xprofile-template.php
- Timestamp:
- 02/29/2020 03:38:06 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/bp-xprofile-template.php
r12529 r12555 1206 1206 1207 1207 /** 1208 * Render an avatar delete link.1209 *1210 * @since 1.1.01211 */1212 function bp_avatar_delete_link() {1213 echo bp_get_avatar_delete_link();1214 }1215 1216 /**1217 * Return an avatar delete link.1218 *1219 * @since 1.1.01220 *1221 * @return string1222 */1223 function bp_get_avatar_delete_link() {1224 1225 /**1226 * Filters the link used for deleting an avatar.1227 *1228 * @since 1.1.01229 *1230 * @param string $value Nonced URL used for deleting an avatar.1231 */1232 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' ) );1233 }1234 1235 /**1236 1208 * Render an edit profile button. 1237 1209 *
Note: See TracChangeset
for help on using the changeset viewer.