Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,10 @@ Filters whether to log a message.

Filters how many log items to store. Items are stored in array saved to the options table. Default is 500.

- `tenup_experience_environment_type_label`

Filters the label showing the environment type in the admin bar.

#### Constants

- `TENUP_DISABLE_ACTIVITYLOG`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,12 @@ public function get_environment_label( $environment ) {
break;
}

return $label;
/**
* Filter the environment label.
*
* @param string $label The environment label.
*/
return apply_filters( 'tenup_experience_environment_type_label', $label );
}

/**
Expand Down