IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
|
| 1826 | 1826 | * field if $single is true. |
| 1827 | 1827 | */ |
| 1828 | 1828 | function get_post_meta( $post_id, $key = '', $single = false ) { |
| 1829 | | return get_metadata('post', $post_id, $key, $single); |
| | 1829 | /** |
| | 1830 | * Filter the meta value. |
| | 1831 | * |
| | 1832 | * @since 4.5.0 |
| | 1833 | * |
| | 1834 | * @param mixed $value Value of the post meta value. |
| | 1835 | * @param int $post_id Post ID. |
| | 1836 | * @param string $key The meta key to retrieve. By default, returns |
| | 1837 | * data for all keys. |
| | 1838 | * @param bool $single Whether to return a single value. |
| | 1839 | * @return mixed Will be an array if $single is false. Will be value of meta data |
| | 1840 | * field if $single is true. |
| | 1841 | */ |
| | 1842 | return apply_filters( 'post_meta', get_metadata( 'post', $post_id, $key, $single ), $post_id, $key, $single ); |
| 1830 | 1843 | } |
| 1831 | 1844 | |
| 1832 | 1845 | /** |