Support » Plugin: Meta Box » Display date in one format and save in another format

Viewing 1 replies (of 1 total)
  • Plugin Author Anh Tran



    The documentation is for showing dates in the backend. The filter rwmb_event_begin_meta runs only in the backend.

    If you want to format the date in the frontend, simply use the following code:

    $event_begin = rwmb_meta( 'event_begin' );
    echo date( 'd F, Y', strtotime( $event_begin ) );
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.