|
|
@ -6,13 +6,8 @@ |
|
|
|
|
|
|
|
|
|
|
|
namespace Aldine\Activation; |
|
|
|
namespace Aldine\Activation; |
|
|
|
|
|
|
|
|
|
|
|
use ParsedownExtra; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function create_default_content() { |
|
|
|
function create_default_content() { |
|
|
|
if ( ! get_option( 'pb_aldine_activated' ) ) { |
|
|
|
if ( ! get_option( 'pb_aldine_activated' ) ) { |
|
|
|
$extra = new ParsedownExtra(); |
|
|
|
|
|
|
|
$home = $extra->text( file_get_contents( get_stylesheet_directory() . '/docs/home.md' ) ); |
|
|
|
|
|
|
|
$help = $extra->text( file_get_contents( get_stylesheet_directory() . '/docs/help.md' ) ); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$default_pages = [ |
|
|
|
$default_pages = [ |
|
|
|
'about' => [ |
|
|
|
'about' => [ |
|
|
|