From e6b91b795858e808ec88aac7edd7dee41d6a2ce9 Mon Sep 17 00:00:00 2001 From: Kaloyan Ivanov Date: Fri, 10 Jun 2016 20:25:05 +0300 Subject: [PATCH] Add theme options container button label filter documentation --- documentation/4-advanced-topics/3-hooks.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/documentation/4-advanced-topics/3-hooks.md b/documentation/4-advanced-topics/3-hooks.md index 1e834be..c078ac2 100644 --- a/documentation/4-advanced-topics/3-hooks.md +++ b/documentation/4-advanced-topics/3-hooks.md @@ -22,6 +22,14 @@ Applied to the template html before putting it into the admin footer. Same as `carbon_template`, but you can specify a template name. +### Theme Options Container + +*(filter)* `carbon_{container-title}_button_label` `($label)` + +Allows you to modify the button label of the theme options container. The filter name is based on the container's title. For example, the filter name for a container with a title of `Theme Options` would be `carbon_theme_options_button_label`. Passes the following parameter: + +* *string* `$label` The unfiltered button label. + ### Relationship & Association Fields *(filter)* `carbon_relationship_title` `($title, $name, $id, $type, $subtype)`