novelist/book/after-content

⌘K
  1. Home
  2. Developers
  3. Actions
  4. novelist/book/after-content

novelist/book/after-content

Used to add content to the single book page.

Example:

/**
 * Add text after the book information
 *
 * @param int $book_id
 *
 * @return void
 */
function add_content_after_novelist_info( $book_id ) {
	?>
	Your text or HTML here.
	<?php
}

add_action( 'novelist/book/after-content', 'add_content_after_novelist_info', 20 );
Was this article helpful to you? No Yes

How can we help?