Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Disable Lazy Loading
- * Add this code in the end of kalium/functions.php or kalium-child/functions.php file.
- */
- add_action( 'lab_image_placeholder_lazyload', '__return_false' );
- add_action( 'lab_image_placeholder_class', 'lab_image_placeholder_class_filter' );
- function lab_image_placeholder_class_filter( $classes ) {
- $classes[] = 'loading-finished';
- return $classes;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement