Created
June 11, 2019 09:39
-
-
Save lunaluna/72ad0ea595e6665a7edaaf9eff14198e to your computer and use it in GitHub Desktop.
WordPressのフロントページに設定したページのIDを取得
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$front_page_id = get_option( 'page_on_front' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
WordPressのフロントページに設定したページのIDを取得