• Resolved xotihcan

    (@xotihcan)


    Hi,
    We made a custom interface for the BLC plugin because we have several wordpress with this link.
    We edit the links directly from the posts but the links still appears on the DB.

    So, I need to know if there’s a way of re-searching for intances without the need of re-checking the link. Calling blc_resynch(true) will work?
    Or better, is there a way that do a recheck of modified posts? How can I call blcPostTypeOverlord::resynch()?

    Thank you in advance.

    https://www.ads-software.com/plugins/broken-link-checker/

Viewing 2 replies - 1 through 2 (of 2 total)
  • To immediately check a specific modified post for links you could do this:

    $container = blcContainerHelper::get_container(array('post_type_name', $post_id));
    $container->synch();

    And yes, blc_resynch(true) will also work, but it will be much, much slower since it will force the plugin to recreate synchronization records for everything.

    Thread Starter xotihcan

    (@xotihcan)

    Janis,
    Thank you for your answer.

    I also saw that there’s an action on save_post which does something very similar. That work just fine.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Rechecking the posts’ is closed to new replies.