# automatorwp/6.0.3/libraries/cmb2-metatabs-options/autoloader.php

AutomatorWP – No-Code Workflow Automation, Integration &amp; Webhooks Plugin, now with AI, version 6.0.3. 25 lines.

- Page: https://pluginprobe.com/plugins/automatorwp/6.0.3/code/libraries/cmb2-metatabs-options/autoloader.php
- Raw: https://pluginprobe.com/plugins/automatorwp/6.0.3/raw/libraries/cmb2-metatabs-options/autoloader.php
- Modified: 2026-09-30T10:02:50+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/automatorwp/6.0.3/code/libraries/cmb2-metatabs-options/autoloader.php#L10-L20`.

```php
<?php
// Exit if accessed directly
if( !defined( 'ABSPATH' ) ) exit;

/**
 * RNL AUTOLOADER
 * Looks in /code to see if a file matching the classname exists
 *
 * @param $class
 *
 * @since 1.2    Added test to see if function has been declared already.
 * @since 1.0.0
 */
if( ! function_exists( 'rnl_autoloader' ) ) {
	
	function rnl_autoloader( $class ) {
		
		$base_dir = __DIR__;
		$class    = strtolower( $class );
		$file     = $base_dir . '/code/' . $class . '.php';
		if ( file_exists( $file ) ) {
			require $file;
		}
	}
}
```
