New answers tagged


Because an email isn't a URL; you need to prepend the protocol to the value you pass to esc_url: <a href="<?php echo esc_url( 'mailto:' . get_theme_mod( 'header_utility_right_email_block_link' ) ) ?>" ...


Those actions always get called by the Genesis framework. I mean these are hook positions and they are always fired by genesis so that any functions tagged/hooked to those hooks will be called at those locations.. so it will always be 1 i.e. yes action hook was executed. As discovered rightly by OP, using has_action instead of did_action did the job.

Top 50 recent answers are included