Skip to content

Commit 78bd2ff

Browse files
committed
function name to snake_case
1 parent 5ac091a commit 78bd2ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

includes/Images/ImageLazyLoader.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ private function get_inline_script() {
126126
* @param string $content The content to be cleaned.
127127
* @return string The cleaned content.
128128
*/
129-
public function cleanContent( $pattern, $search, $replace, $content ) {
129+
public function clean_content( $pattern, $search, $replace, $content ) {
130130

131131
if ( empty( $content ) || empty( $pattern ) || empty( $search ) ) {
132132
return $content;
@@ -162,7 +162,7 @@ public function apply_lazy_loading( $content ) {
162162

163163
try {
164164
if ( function_exists( 'et_setup_theme' ) ) {
165-
$content = $this->cleanContent(
165+
$content = $this->clean_content(
166166
'/<iframe(.*?)<\/iframe>/s',
167167
'<!-- [et_pb_line_break_holder] -->',
168168
'',

0 commit comments

Comments
 (0)