bbp_get_single_user_edit_template()
Get the user profile edit template
Description Description
Return Return
(string) Path to template file
Source Source
File: includes/core/template-loader.php
function bbp_get_single_user_edit_template() { $nicename = bbp_get_displayed_user_field( 'user_nicename' ); $user_id = bbp_get_displayed_user_id(); $templates = array( 'single-user-edit-' . $nicename . '.php', // Single User Edit nicename 'single-user-edit-' . $user_id . '.php', // Single User Edit ID 'single-user-edit.php', // Single User Edit 'user-edit.php', // User Edit 'user.php', // User ); return bbp_get_query_template( 'profile_edit', $templates ); }
Changelog Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |