Skip to content

Commit

Permalink
Added KCDs as a playlist option for the youtube_playlist shortcode
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Abraham <[email protected]>
  • Loading branch information
cjyabraham committed Jul 24, 2024
1 parent aeeefe3 commit f03edc9
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* YouTube Playlist
*
* Usage:
* [youtube_playlist playlist="members|endusers" count=4]
* [youtube_playlist playlist="members|endusers|kcds" count=4]
*
* @package WordPress
* @subpackage cncf-theme
Expand Down Expand Up @@ -60,6 +60,10 @@ function add_playlist_shortcode( $atts ) {
$playlist_id = 'PLj6h78yzYM2Mh0PGvD6jcn_MSNlvg4cWn';
$transient_name = 'cncf_member_playlist';
break;
case 'kcds':
$playlist_id = 'PLj6h78yzYM2MX0nAAswpzJgGRyMZRbX_G';
$transient_name = 'cncf_kcd_playlist';
break;
default:
$playlist_id = 'PLj6h78yzYM2MiFgpFi1ci4i94A50LeZ40';
$transient_name = 'cncf_eu_playlist';
Expand Down

0 comments on commit f03edc9

Please sign in to comment.