I have created form for enquiry. When user fill this form then I am saving it into database as a custom post type. In backend I need to show extra information on custom post edit page. But did not find any hook.
I have tried this code:
[![function add_extra_info_column( $columns ) {
return array_merge( $columns,
array( 'sticky' => __( 'Extra Info', 'your_text_domain' ) ) );
}
add_filter( 'manage_posts_columns' , 'add_extra_info_column' );][1]][1]
But it adds a new column in custom post.
I need to show extra info when we click on edit page link for every post.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire