|
|
|
|
@ -92,8 +92,19 @@ function create_default_content() {
|
|
|
|
|
'post_title' => __( 'Home', 'pressbooks-aldine' ), |
|
|
|
|
'post_content' => $home_content, |
|
|
|
|
], |
|
|
|
|
'register' => [ |
|
|
|
|
'post_title' => __( 'Register', 'pressbooks-aldine' ), |
|
|
|
|
'post_content' => '', |
|
|
|
|
], |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
if ( getenv('PB_CUSTOM_SIGNUP') ) { |
|
|
|
|
$pages['register'] = [ |
|
|
|
|
'post_title' => __( 'Register', 'pressbooks-aldine' ), |
|
|
|
|
'post_content' => '', |
|
|
|
|
]; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Add our pages. |
|
|
|
|
$pages = []; |
|
|
|
|
|
|
|
|
|
|