Skip to content

Commit

Permalink
2024 Theme: Update searchable post types
Browse files Browse the repository at this point in the history
Remove Lessons Plans and add Tutorials to post types included in general searches

See #2437
  • Loading branch information
adamwoodnz committed Jun 20, 2024
1 parent fa3439c commit 45fd5b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-content/themes/pub/wporg-learn-2024/inc/query.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function modify_level_query( $query ) {
* @return array The searchable post types.
*/
function get_searchable_post_types() {
return array( 'course', 'lesson', 'quiz', 'meeting', 'page', 'post', 'lesson-plan' );
return array( 'course', 'lesson', 'quiz', 'meeting', 'page', 'post', 'wporg_workshop' );
}

/**
Expand Down

0 comments on commit 45fd5b4

Please sign in to comment.