self::LOG_LEVEL, 'description' => self::DESCRIPTION ); aci_register_routine( __CLASS__, $default_options ); // Optional extra settings fields add_action( __CLASS__.'_settings_field', array( __CLASS__, 'settings_field' ), 10, 2 ); add_filter( __CLASS__.'_settings', array( __CLASS__, 'settings' ), 10, 1 ); } public static function inspect() { // Do the inspection and log a message like this: AC_Inspector::log( "Enter appropriate log text here.", __CLASS__ ); // Return whatever is expected of the hook this routine is attached to, // nothing if the standard "ac_inspection" cron job hook return ""; } public static function settings_field( $options, $args = array() ) { $routine = $args['routine']; /** * * Input field name convention: aci_options[][field_name] * Input field id convention: aci_options__field_name * **/ ?> Example setting field

Here be extra settings field :)