add_action('wp_footer', 'telemarket_pdf_modal_script'); function telemarket_pdf_modal_script() { ?>add_action('wp_footer', function() { ?>