Skip to content

Commit

Permalink
Merge pull request #7 from lceberg/master
Browse files Browse the repository at this point in the history
Add theme options container button label filter documentation
  • Loading branch information
tyxla authored Jun 10, 2016
2 parents 3369504 + e6b91b7 commit 7d1576b
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 7d1576b

Please sign in to comment.