Permalink
Browse files

Allow the endpoint URL to be filtered

  • Loading branch information...
1 parent 0dccc81 commit 7330fcbe8702806058e3d8b580bbd14e6442b422 @nb nb committed Sep 18, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 liveblog.php
View
@@ -540,6 +540,7 @@ private static function get_entries_endpoint_url() {
$url = add_query_arg( self::url_endpoint, '', $post_permalink ) . '='; // returns something like ?p=1&liveblog=
else
$url = trailingslashit( trailingslashit( $post_permalink ) . self::url_endpoint ); // returns something like /2012/01/01/post/liveblog/
+ $url = apply_filters( 'liveblog_endpoint_url', $url, self::$post_id );
return $url;
}

0 comments on commit 7330fcb

Please sign in to comment.