Changeset 13769 for trunk/docs/developer/group-extension/README.md
- Timestamp:
- 03/10/2024 02:44:38 PM (2 years ago)
- File:
-
- 1 edited
-
trunk/docs/developer/group-extension/README.md (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/developer/group-extension/README.md
r13527 r13769 126 126 - `edit` – Config options for the ‘edit’ screen, a sub item of the Group's Manage item on the front-end. 127 127 - `submit_text` – The text of the submit button on the edit screen. Defaults to 'Edit'. 128 - `enabled` – `true` if you want your group extension to have a subtab in the Group Ad imn area, otherwise `false`. Defaults to `true`.128 - `enabled` – `true` if you want your group extension to have a subtab in the Group Admin area, otherwise `false`. Defaults to `true`. 129 129 - `name` – The text that appears in the navigation tab for the group extension’s Edit screen. Defaults to the general `name` value described above. 130 130 - `slug` – The string used to create the URL of the admin tab. Defaults to the general `slug` value described above. … … 176 176 - `settings_screen_save()`: called after changes are submitted from the `create` / `edit` / `admin` screens. This method should contain the logic necessary to catch settings form submits, validate submitted settings, and save them to the database. 177 177 178 **NB**: these 2 methods include the `$group_id` argument so that you can customize your output/handler according to the current group being created, edited or admin strated.178 **NB**: these 2 methods include the `$group_id` argument so that you can customize your output/handler according to the current group being created, edited or administrated. 179 179 180 180 Let's improve our example of basic group extension including a feature to let the creator/administrator of the group decide whether they want to "activate" the group extension main tab for their group. … … 193 193 'access' => 'anyone', 194 194 195 // Set the callback function definin ing the `$show_tab` argument dynamically.195 // Set the callback function defining the `$show_tab` argument dynamically. 196 196 'show_tab_callback' => array( $this, 'show_tab' ), 197 197
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)