Changeset 8684
- Timestamp:
- 04/25/2019 08:17:09 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/handbooks.php
r7319 r8684 17 17 * @access public 18 18 */ 19 public static $post_types = array( 'plugin', 'rest-api', 'theme' );19 public static $post_types = []; 20 20 21 21 /** … … 97 97 */ 98 98 public static function filter_handbook_post_types( $types ) { 99 if ( ! self::$post_types ) { 100 self::$post_types = apply_filters( 'devhub_handbook_post_types', [ 'plugin', 'rest-api', 'theme' ] ); 101 } 102 99 103 return self::$post_types; 100 104 }
Note: See TracChangeset
for help on using the changeset viewer.