WordPress 구조 파악


/**
 * For developers: WordPress debugging mode.
 *
 * Change this to true to enable the display of notices during development.
 * It is strongly recommended that plugin and theme developers use WP_DEBUG
 * in their development environments.
 *
 * For information on other constants that can be used for debugging,
 * visit the documentation.
 *
 * @link https://wordpress.org/documentation/article/debugging-in-wordpress/
 */
define( 'WP_DEBUG', false );

/* Add any custom values between this line and the "stop editing" line. */


/////////////////////////////////
// 포스트(글) 리비전 수
define('WP_POST_REVISIONS', 2);

// 휴지통 비우는 날짜 기준 정하기, 7일 이내에 삭제
define('EMPTY_TRASH_DAYS', 7);

//////////////////////////////////////


/* That's all, stop editing! Happy publishing. */

/** Absolute path to the WordPress directory. */
if ( ! defined( 'ABSPATH' ) ) {
	define( 'ABSPATH', __DIR__ . '/' );
}

/** Sets up WordPress vars and included files. */
require_once ABSPATH . 'wp-settings.php';

Leave a Reply

Your email address will not be published. Required fields are marked *