Field::save_cb()
Description #
Call save callback.
This will call save callback with two parameter value
and current field object.
Source #
File: lib/form/class-field.php
public function save_cb() { if ( ! empty( $this->args['save'] ) && is_callable( $this->args['save'] ) ) { return call_user_func( $this->args['save'], $this->value(), $this ); } }
Expand full source code Collapse full source code View on GitHub: lib/form/class-field.php:642
Add your comment