RW_Meta_Box_Validate

Validation class Define ALL validation methods inside this class Use the names of these methods in the definition of meta boxes (key 'validate_func' of each field).

Defined (1)

The class is defined in the following location(s).

/meta-box/meta-box-usage.php  
  1. class RW_Meta_Box_Validate { 
  2. function check_name($text) { 
  3. if ($text == 'Anh Tran') { 
  4. return 'He is Rilwis'; 
  5. return $text;