How to display the custom content that I saved in ask form?

Solved56 viewsGeneral
0

Hello, I created a new field in the existing Ask form to input some contents, but I don’t know how can I display those contents on the question page. Can you please help me with this? 

Question is closed for new answers.
Selected answer as best
0

Hello,
If you have saved it to post meta then you can do something like:

add_action('ap_after_question_content', function() {
    echo get_post_meta( get_the_ID(), 'NAME_OF_YOUR_CUSTOM_META', true );
});


Please make sure to replace NAME_OF_YOUR_CUSTOM_META with your custom meta key.

Selected answer as best
You are viewing 1 out of 1 answers, click here to view all answers.