Support » Plugin: a3 Lazy Load » Skip page for lazy load

  • Hi,

    I am trying to make work the code provided by the plugin owner which I have found on this support page

    I have added this into my functions file:

    add_filter( 'a3_lazy_load_run_filter', 'skip_a3_lazy_load_for_this_page', 11 );
    function skip_a3_lazy_load_for_this_page( $apply_lazyload ) {
    $apply_lazyload = false;
    return $apply_lazyload;
    }

    Then placed this into the page template before content:
    <?php apply_filters( 'a3_lazy_load_run_filter', 'skip_a3_lazy_load_for_this_page' );?>

    The problem is that the lazy load is still there. Any idea what am I doing wrong?

    • This topic was modified 1 week, 4 days ago by  maximmmus.
  • You must be logged in to reply to this topic.