noptin_ob_get_clean( string $file, array $args = array() )

Includes a file.


Parameters Parameters

$file

(string) (Required) The file path.

$args

(array) (Optional) Defaults to an empty array.

Default value: array()


Top ↑

Source Source

File: includes/functions.php

function noptin_ob_get_clean( $file, $args = array() ) {

	// phpcs:ignore WordPress.PHP.DontExtract.extract_extract
	extract( $args );
	ob_start();
	include $file;
	return ob_get_clean();

}


Top ↑

Changelog Changelog

Changelog
VersionDescription
1.2.0Introduced.

Top ↑

User Contributed Notes User Contributed Notes

30 day money back guarantee
Safe & Secure online payment
Custom CSS Slide Example
Custom Animation Example
Default Animation