Skip to content

Commit

Permalink
Add theme options container button label filter documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kaloyan-dev committed Jun 10, 2016
1 parent 3369504 commit e6b91b7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions documentation/4-advanced-topics/3-hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)`
Expand Down

0 comments on commit e6b91b7

Please sign in to comment.