ACF_Assets::__call
Magic __call method for backwards compatibility.
Method of the class: ACF_Assets{}
No Hooks.
Returns
Mixed.
Usage
$ACF_Assets = new ACF_Assets(); $ACF_Assets->__call( $name, $arguments );
- $name(string) (required)
- The method name.
- $arguments(array) (required)
- The array of arguments.
Changelog
| Since 5.9.0 | Introduced. |
ACF_Assets::__call() ACF Assets:: call code ACF 6.8.8
public function __call( $name, $arguments ) {
switch ( $name ) {
case 'admin_enqueue_scripts':
case 'admin_print_scripts':
case 'admin_head':
case 'admin_footer':
case 'admin_print_footer_scripts':
_doing_it_wrong( __FUNCTION__, 'The ACF_Assets class should not be accessed directly.', '5.9.0' );
}
}