?>
<input type="hidden" id="user-id" name="user_ID" value="<?php
echo (int) $user_id; ?>" />
<input type="hidden" id="hiddenaction" name="action" value="<?php
echo esc_attr( $form_action ); ?>" />
<input type="hidden" id="originalaction" name="originalaction" value="<?php
echo esc_attr( $form_action ); ?>" />
<input type="hidden" id="post_type" name="post_type" value="<?php
echo esc_attr( $post->post_type
); ?>" />
<input type="hidden" id="original_post_status" name="original_post_status" value="<?php
echo esc_attr( $post->post_status
); ?>" />
<input type="hidden" id="referredby" name="referredby" value="<?php
echo $referer ?
esc_url( $referer ) : ''; ?>" />
<?php
if ( 'draft' !==
get_post_status( $post ) ) { wp_original_referer_field( true, 'previous'
);
} echo $form_extra;
wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false
);
wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false
);
// Permalink title nonce.
wp_nonce_field( 'samplepermalink', 'samplepermalinknonce', false
);
/**
* Adds hidden input fields to the meta box save form.
*
* Hook into this action to print `<input type="hidden" ... />` fields, which will be POSTed back to
* the server when meta boxes are saved.
*
* @since 5.0.0
*
* @param WP_Post $post The post that is being edited.
*/