Skip to content

Commit

Permalink
Make output of instructors shortcode show if still in draft.
Browse files Browse the repository at this point in the history
  • Loading branch information
brianhogg committed Jan 14, 2025
1 parent eed067e commit 411c664
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class LLMS_Shortcode_Membership_Instructors extends LLMS_Shortcode {
* @since [version]
*/
protected function get_output() {
if ( 'llms_membership' !== get_post_type( get_the_ID() ) || 'publish' !== get_post_status( get_the_ID() ) ) {
if ( 'llms_membership' !== get_post_type( get_the_ID() ) ) {
return '';
}

Expand Down

0 comments on commit 411c664

Please sign in to comment.