Skip to content
Browse files

New filter: liveblog_add_to_content

Can be used to modify the complete liveblog output, although not really recommended.
  • Loading branch information...
1 parent 7e39692 commit 09e766c0e1c82dd06c79f2ffdf4a7ec7fedbf75d @mjangda mjangda committed
Showing with 2 additions and 0 deletions.
  1. +2 −0 liveblog.php
View
2 liveblog.php
@@ -573,6 +573,8 @@ public static function add_liveblog_to_content( $content ) {
$liveblog_output .= self::get_all_entry_output();
$liveblog_output .= '</div>';
+ $liveblog_output = apply_filters( 'liveblog_add_to_content', $liveblog_output, $content, self::$post_id );
+
return $content . $liveblog_output;
}

0 comments on commit 09e766c

Please sign in to comment.
Something went wrong with that request. Please try again.