Detecting if a page is front page in admin

I have a metabox that needs to display different options based on if the user has the current page selected as being the front page. is_font_page() isn’t doing the trick. The function doesn’t take a param so I can’t pass the ID of the current page to test. How can I check for this in the admin?

Read more here: Detecting if a page is front page in admin

Leave a Reply

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