Skip to content

Commit

Permalink
Disable bloganuary.
Browse files Browse the repository at this point in the history
  • Loading branch information
allilevine committed Dec 5, 2024
1 parent 90dd8f2 commit b632c5b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/data/blogging-prompt/is-bloganuary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,10 @@ import moment from 'moment';
* @returns true if bloganuary mode is active
*/
export default function isBloganuary() {
// Disable for January 2025 (see https://wp.me/p5uIfZ-gxX).
const BLOGANUARY_ENABLED = false;
if ( ! BLOGANUARY_ENABLED ) {
return false;
}
return moment().format( 'MM' ) === '01' || isEnabled( 'bloganuary' );
}

0 comments on commit b632c5b

Please sign in to comment.