Skip to menu

webcomic_compat()

Attempt to invoke a compatibility method.

webcomic_compat( string $method, array $args = [], mixed $default = null ) : mixed

Parameters

string $method

The method to invoke, if it’s available.

array $args

Optional arguments to pass to the method.

mixed $default

Optional value to return if $method does not exist.

Return

mixed

Back to top