Recent

crp_cornerstone_priorityfilterPro only

crp_cornerstone_priority

Filter whether cornerstone posts take priority over regular related posts.

Manual posts always appear first regardless of this setting. When true (default), the order is: manual → cornerstone → related. When false, the order is: manual → related → cornerstone.

Type: filter
Since: 4.2.3
Source: includes/pro/class-query-modifier.php line 1117

Parameters

Type Name Description
bool $cornerstone_priority True if cornerstone posts should rank before regular related posts. Default true.
\WP_Query $query The current WP_Query instance.

Usage

add_filter( 'crp_cornerstone_priority', function($cornerstone_priority, $query) {
    // ...
    return $cornerstone_priority;
} );