• Resolved javorszky

    (@javorszky)


    Hi,

    Relevanssi version free 3.1.6
    The docs in question: http://www.relevanssi.com/knowledge-base/relevanssi_post_ok-filter/

    The incorrect part:
    “For free Relevanssi and Premium < 1.8
    The filter passes only one parameter, the post ID, and wants a boolean response”

    What should be there:
    “The filter passes two parameters: an initial boolean value, and the post ID of the page in question”.

    See /lib/search.php:589: $post_ok = apply_filters('relevanssi_post_ok', $post_ok, $match->doc);

    Please amend the docs on the link, it took me about an hour of frustration to figure this out. Otherwise, loving your plugin 🙂

    Thanks,
    Gabor

    http://wordpress.org/plugins/relevanssi/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Docs relating to relevanssi_post_ok is incorrect’ is closed to new replies.