Core Function
View Source on Trac ↗ is_front_page()
is_front_page( ) Determines whether the query is for the front page of the site.
Return Value
(bool)
Whether the query is for the front page of the site.
Function Information
Since Version
2.5.0
Source File
wp-includes/query.php
Advertisement