apply_filters( 'um_extend_account_settings', $um_account_settings ) → {array}
Filters data array for localize wp-admin Gutenberg scripts for account block.
Parameters:
Name | Type | Description |
---|---|---|
$um_account_settings |
array | Data to localize. |
- Since:
- 2.6.1
- Source:
Returns:
Data to localize.
- Type
- array
Example
function um_custom_extend_account_settings( $um_account_settings ) {
return $um_account_settings;
}
add_filter( 'um_extend_account_settings', 'um_custom_extend_account_settings' );