404 class monitor hook

#810384
  • Resolved Matthew Letford
    Rank Math free

    How would I change this line of code using a hook?

    wp-content/plugins/seo-by-rank-math/includes/modules/404-monitor/class-monitor.php on line 53

    $this->action( $this->get_hook(), ‘capture_404’ );

    to this

    $this->action( ‘template_redirect’, ‘capture_404’ );

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting us and bringing your concern to our attention.

    Unfortunately, right now we don’t have any filter/hook to change this plugin file. Our devs are working on this, and you can keep an eye on our changelog to get notified once an update with the fix for this is available: https://rankmath.com/changelog/

    For now, you will have to manually make changes to the plugin files after each update.

    Hope that helps and please don’t hesitate to let us know if you have any other questions.
     
    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘404 class monitor hook’ is closed to new replies.