bp_member_type_filter_update_messages( $messages )
Setup admin action messages.
Description
Parameters
- $messages
-
(Required)
Return
(mixed)
Source
File: bp-core/admin/bp-core-admin-functions.php
function bp_member_type_filter_update_messages( $messages ) { $update_message = $messages[ 'post' ]; $update_message[ 1 ] = sprintf( __( 'Profile type updated.', 'buddyboss' ) ); $update_message[ 4 ] = __( 'Profile type updated.', 'buddyboss' ); $update_message[ 6 ] = sprintf( __( 'Profile type published. ', 'buddyboss' ) ); $update_message[ 7 ] = __( 'Profile type saved.', 'buddyboss' ); $messages[ bp_get_member_type_post_type() ] = $update_message; return $messages; }
Changelog
Version | Description |
---|---|
BuddyBoss 1.0.0 | Introduced. |
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.