plugin development – how to catch a data from a array in WordPress
I got page information. but now I can’t print specific data from this array.
$page_details = get_pages( array( 'post_type' => 'page', 'meta_key' => '_wp_page_template', 'hierarchical' => 0, 'meta_value' => 'template-parts/about.php' )); echo '<pre>'; var_dump($page_details);// check the array value echo '</pre>'; var_dump($page_details["post_title"]);// it's return null value. this way I am trying catch the specific value. but it is wrong
I was known but recently I forget it. so please help