novelist/book/cover-alignment-options

⌘K
  1. Home
  2. Developers
  3. Filters
  4. novelist/book/cover-alignment-options

novelist/book/cover-alignment-options

Modify the available book cover alignment options.

Source:

inc/book-functions.php

/**
 * Book Cover Alignment Options
 *
 * Returns an array of book cover alignment options.
 *
 * @since 1.0.0
 * @return array
 */
function novelist_book_alignment_options() {
	$options = array(
		'left'   => __( 'Left', 'novelist' ),
		'center' => __( 'Centered', 'novelist' ),
		'right'  => __( 'Right', 'novelist' )
	);

	return apply_filters( 'novelist/book/cover-alignment-options', $options );
}
Was this article helpful to you? No Yes

How can we help?