This function get_metadata is useful when needs to get alot of post_meta of post or page. Because if get post meta one by one from get_postmeta function then get_postmeta will consume too much time.
$post_id = get_the_ID();
$all_post_meta = get_metadata( 'post', $post_id, '', true);
Currently working in software house named Wiztech as position of Senior Web Developer, I love to share tips and techniques of programming, author of SDTuts 27 years old, I am from Karachi, Sindh, Pakistan and I am working on Web Designing and Development with Adobe Photoshop CS, HTML, CSS, JavaScript,…Read More Description