markers() as $marker ) { if ( false !== stripos( (string) $url, $marker ) ) { return true; } } return $excluded; } public function scripts( $handles ) { return array_unique( array_merge( $handles, $this->markers() ) ); } }