post_custom( string $key = '' )

Retrieve post custom meta data field.

25 related functions found for: post_custom

Top ↑

Related terms found for this post

wp-parser-related-wordscustom, post, post-template-php, post-typ, post-type, wp-includes
wp-parser-packageTemplate, WordPress

Top ↑

Terms Used Terms Used

Terms used in the related posts query

  • custom
  • post
  • post-template-php
  • post-typ
  • post-type
  • Template
  • wp-includes
  • wp-includes/post-template.php
  • template

Top ↑

Description Description

Top ↑

Parameters Parameters


(string) (Optional) Meta data key name.

Default value: ''

Top ↑

Return Return

(false|string|array) Array of values or single value, if only one element exists. False will be returned if key does not exist.

Top ↑

Source Source

File: wp-includes/post-template.php


Top ↑

Changelog Changelog

Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.