Clean up code examples
This commit is contained in:
parent
c9a829308c
commit
958e0efdd5
@ -200,8 +200,8 @@ function child_prefix_chapter_index_list_item( $item, $post, $args ) {
|
||||
$post->ID,
|
||||
get_the_permalink( $post->ID ),
|
||||
$args['icon'],
|
||||
$prefix ? $prefix . ' ' : '', // New %6$s
|
||||
$args['list_title'] ?: $args['title'] // Moved to %7$s
|
||||
$prefix ? $prefix . ' ' : '',
|
||||
$args['list_title'] ?: $args['title']
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -368,8 +368,8 @@ function child_prefix_chapter_index_list_item( $item, $post, $args ) {
|
||||
$post->ID,
|
||||
get_the_permalink( $post->ID ),
|
||||
$args['icon'],
|
||||
$prefix ? $prefix . ' ' : '', // New %6$s
|
||||
$args['list_title'] ?: $args['title'] // Moved to %7$s
|
||||
$prefix ? $prefix . ' ' : '',
|
||||
$args['list_title'] ?: $args['title']
|
||||
);
|
||||
}
|
||||
add_filter( 'fictioneer_filter_chapter_index_item', 'child_prefix_chapter_index_list_item', 1, 3 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user