page_attributes_meta_box()

The page_attributes_meta_box() WordPress function displays a dropdown menu containing a list of available parent pages. This allows the user to set a hierarchical relationship between the current page and the other pages in the list. This function is called within the edit page or edit post administration screens to give authors the ability to set up a Page Parent and order for the current page.

How to use the function

page_attributes_meta_box( WP_Post $post )

Parameters

$post WP_Post

Current post object.

How useful is the publication?

Click on a star to rate it!

Average score 5 / 5. Number of grades: 1

No ratings yet. Rate it first.