Home › Forums › Pro Support › Add custom fields to my output Tagged: custom fields This topic has 2 replies, 2 voices, and was last updated 3 years ago by Tom. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts September 11, 2020 at 8:01 am #19214 Francesco LeoneParticipant Hi! I would like to output also my custom fields values into the grid i display. How can i do that ? thanks September 11, 2020 at 8:44 am #19216 Francesco LeoneParticipant I have found the answer by myself, but now i don’t understand how can I avoid the hook to be displayed in every post list. thank you September 11, 2020 at 2:16 pm #19228 TomKeymaster Hi there, You can use the $settings parameter in the function. For example: add_action( 'hook_name', function( $settings ) { if ( 123 === $settings['list_id'] ) { // Everything in here will show up on the "123" list ID. } } ); Author Posts Viewing 3 posts - 1 through 3 (of 3 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In