block. * * @package WordPress * @subpackage Fictioneer * @since 4.7.0 * @since 5.17.0 - Turned meta data into filterable array. * @see single-fcn_story.php * * @internal $args['story_data'] Story data from fictioneer_get_story_data(). * @internal $args['story_id'] Current story and post ID. */ // No direct access! defined( 'ABSPATH' ) OR exit; // Only render to bottom padding if behind a password if ( post_password_required() ) { // Start HTML ---> ?> 0 && FICTIONEER_ENABLE_STORY_CHANGELOG && get_option( 'fictioneer_show_story_changelog' ); $meta_output = []; // Status $meta_output['status'] = ' ' . $story['status'] . ''; // Date $meta_output['date'] = ' ' . get_the_time( get_option( 'date_format' ), $post ) . '' . get_the_time( FICTIONEER_STORY_FOOTER_B480_DATE, $post ) . ''; // Words $meta_output['words'] = ' ' . $story['word_count_short'] . ''; // Rating $meta_output['rating'] = ' ' . $story['rating'] . ''; // Checkmark if ( $story['chapter_count'] > 0 ) { $meta_output['checkmark'] = ''; } // Filter $meta_output = apply_filters( 'fictioneer_filter_story_footer_meta', $meta_output, $args, $post ); ?>