Get page ID by title

218

Last updated 3 years ago

Added 3 years ago

Informations

This code get the ID of the page by its title.

Code

<?php get_page_by_title(‘page_title’)->ID ?>

Contribute to this page

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *


ID ?>