投稿ページのコンテンツエリア<article class="l-content__main__body">〜</article>
の閉じタグの直前にHTMLを挿入したい場合に利用します。
ソースコード
<?php
add_action(
'arkhe_end_entry_main_content',
function( $the_id ) {
?>
<a class="c-ta-action-hook-point p-arkhe_end_entry_main_content c-blinking" href="<?php echo esc_url( home_url( '/arkhe_end_entry_main_content' ) ); ?>" role="button">arkhe_end_entry_main_content / このページの記事IDは<?php echo esc_attr( $the_id ); ?>です</a>
<?php
},
10,
1
);