mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-02 09:11:17 +03:00
Pledge Meta: Add missing param to doc block for get_pledge_meta_config
This commit is contained in:
parent
e15522756b
commit
94f2ce4559
|
@ -28,9 +28,11 @@ add_action( 'added_post_meta', __NAMESPACE__ . '\update_generated_meta', 10, 4
|
||||||
/**
|
/**
|
||||||
* Define pledge meta fields and their properties.
|
* Define pledge meta fields and their properties.
|
||||||
*
|
*
|
||||||
|
* @param string $context Optional. The part of the config to return. 'user_input', 'generated', or 'all'.
|
||||||
|
*
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
function get_pledge_meta_config( $context = '' ) {
|
function get_pledge_meta_config( $context = 'all' ) {
|
||||||
$user_input = array(
|
$user_input = array(
|
||||||
'org-description' => array(
|
'org-description' => array(
|
||||||
'single' => true,
|
'single' => true,
|
||||||
|
|
Loading…
Reference in a new issue