Skip to content

Commit 7d1576b

Browse files
authored
Merge pull request #7 from lceberg/master
Add theme options container button label filter documentation
2 parents 3369504 + e6b91b7 commit 7d1576b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

documentation/4-advanced-topics/3-hooks.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@ Applied to the template html before putting it into the admin footer.
2222

2323
Same as `carbon_template`, but you can specify a template name.
2424

25+
### Theme Options Container
26+
27+
*(filter)* `carbon_{container-title}_button_label` `($label)`
28+
29+
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:
30+
31+
* *string* `$label` The unfiltered button label.
32+
2533
### Relationship & Association Fields
2634

2735
*(filter)* `carbon_relationship_title` `($title, $name, $id, $type, $subtype)`

0 commit comments

Comments
 (0)