BBP_Converter_Base::callback_datetime( $field )
Description
Source
File: bp-forums/admin/converter.php
1499 1500 1501 1502 1503 1504 1505 | protected function callback_datetime( $field ) { if ( is_numeric ( $field ) ) { return date ( 'Y-m-d H:i:s' , $field ); } else { return date ( 'Y-m-d H:i:s' , strtotime ( $field ) ); } } |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.