Example action hook field type to output shortcode
functions.php
<?php
// There should only be one <?php at the top of your file, do not add this if it already exists
function custom_N01_Price_action( $field, $key ) {
echo do_shortcode('[table id=1]');
}
// Here the meta key is N01_Price, so the action would be job_manager_field_actionhook_N01_Price
add_action( 'job_manager_field_actionhook_N01_Price', 'custom_N01_Price_action', 10, 2 );
No comments yet.