bsearch_get_post_score()
Get the relevance score for a post.
Since: 4.1.2
Source: includes/general-template.php line 572
Signature
function bsearch_get_post_score( $post_id = ... ): float;
Parameters
| Type | Name | Description |
|---|---|---|
int | $post_id | Post ID. Default is current post. |
Returns
float — Post score or 0 if not available.