How do I create a condition in PHP that changes the record of a field in a column in the database every 30 days?
Example:
if ( $valor == 'value_1'){
// Função que altera o registro
}
value_2
// Value for which to change
meta_value
// Field that stores the value
wp_usermeta
// Table
Every 30 days.