• Resolved trisg

    (@trisg)


    Hi Team,

    I am trying to add custom fields using publishpress_author_fields , the code used are added below.

    function custom_publishpress_author_fields( $fields ) {
        $fields['custom_field'] = array(
            'label'   => 'Custom Field',
            'type'    => 'text',
            'default' => '',
      );
        return $fields;
    }

    add_filter( 'publishpress_author_fields', 'custom_publishpress_author_fields' );


    Can you please guide me with this.

    Thanks in Advance.
    Tris

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Trying to add custom fields’ is closed to new replies.