Changeset 10772
- Timestamp:
- 03/05/2021 12:29:06 AM (3 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/inc/handbook.php
r10769 r10772 75 75 * Filters default handbook configuration array. 76 76 * 77 * @param string $slug The slug for the post type. Default is post type. 77 * @param array $config { 78 * Associative array of handbook configuration. 79 * 80 * @type string $label The label for the handbook. Default is the 81 * post type slug converted to titlecase (e.g. 82 * plugin-handbok => "Plugin Handbook"). 83 * @type string $slug The slug for the post type. Default is the 84 * post type. 85 * } 78 86 */ 79 87 return (array) apply_filters( 'handbook_default_handbook_config', [ -
sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/inc/init.php
r10769 r10772 118 118 * Defines and configures all handbooks. 119 119 * 120 * @param array $config { 121 * Associative array of post types and their configuration options. The keys should actually be 122 * the post type base, hypenated and without appending '-handbook' (which will automatically get 123 * appended when the handbook post type is created, if the key isn't "handbook"). Default is 'handbook'. 120 * @see WPorg_Handbook::get_default_handbook_config() 124 121 * 125 * @type string $label The label for the handbook. Default is the 126 * post type slug converted to titlecase (e.g. 127 * plugin-handbok => "Plugin Handbook"). 128 * @type string $slug The slug for the post type. Default is the 129 * post type. 130 * } 122 * @param array $config Associative array of handbooks and their 123 * configuration options. Keys should be the handbook 124 * post type (which will get appended '-handbook' if 125 * the post type isn't 'handbook' and doesn't already 126 * contain '-handbook'. See 127 * {@see WPorg_Handbook::get_default_handbook_config()} 128 * for list of per-handbook configuration options. 131 129 */ 132 130 $config = (array) apply_filters( 'handbooks_config', $config );
Note: See TracChangeset
for help on using the changeset viewer.