Changeset 7600 for sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/theme-directory.php
- Timestamp:
- 08/09/2018 08:58:06 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/theme-directory.php
r6554 r7600 207 207 208 208 /** 209 * The array of post types to be included in the sitemap. 210 * 211 * @param array $post_types List of included post types. 212 * @return array 213 */ 214 function wporg_themes_sitemap_post_types( $post_types ) { 215 $post_types[] = 'repopackage'; 216 217 return $post_types; 218 } 219 add_filter( 'jetpack_sitemap_post_types', 'wporg_themes_sitemap_post_types' ); 220 221 /** 209 222 * Returns the specified meta value for a version of a theme. 210 223 *
Note: See TracChangeset
for help on using the changeset viewer.