Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Commit

Permalink
Change filter name to customize_previewed_posts_for_query
Browse files Browse the repository at this point in the history
  • Loading branch information
PatelUtkarsh committed Jun 30, 2016
1 parent c6b898c commit f5a7369
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/class-wp-customize-posts-preview.php
Expand Up @@ -379,7 +379,7 @@ public function get_previewed_posts_for_query( WP_Query $query, $published = tru
* @type bool $publish IN query or NOT IN query.
* }
*/
$post_ids = apply_filters( 'customize_previewed_posts', $post_ids, array(
$post_ids = apply_filters( 'customize_previewed_posts_for_query', $post_ids, array(
'query' => $query,
'settings' => $settings,
'publish' => $published,
Expand Down

0 comments on commit f5a7369

Please sign in to comment.