siteorigin_panels_postloop_exclude_current_post
siteorigin_panels_postloop_exclude_current_post
Appears in: siteorigin-panels.2.29.15, siteorigin-panels.2.29.16, siteorigin-panels.2.29.17, siteorigin-panels.2.29.18, siteorigin-panels.2.29.20, siteorigin-panels.2.29.22, siteorigin-panels.2.30.0, siteorigin-panels.2.31.0, siteorigin-panels.2.31.3
Hook Type: filter
Displaying hooks found in version: siteorigin-panels.2.31.3apply_filters('siteorigin_panels_postloop_exclude_current_post') is found 1 times:
- /inc/widgets/post-loop.php line 207
global $siteorigin_panels_current_post; if ( apply_filters( 'siteorigin_panels_postloop_exclude_current_post', true ) && ! empty( $siteorigin_panels_current_post ) ) { if ( ! empty( $query_args['post__not_in'] ) ) { if ( ! is_array( $query_args['post__not_in'] ) ) { $query_args['post__not_in'] = explode( ',', $query_args['post__not_in'] ); $query_args['post__not_in'] = array_map( 'intval', $query_args['post__not_in'] );