<option value=""><?php echo esc_attr(__('Select Event')); ?></option>;
what I don't understand is the meaning of __( ) to enclose the string "Select Event". As I read more, I found out that these symbols also appeared n the php function printf() which is used to format two comma separated strings; 'I am a %1$s.', 'example.'
printf( '<p>' . __('I am a %1$s.', 'example.') . '</p>', $sex );
Then again I don't understand the meaning of __( ) to enclose both of these strings. I also don't get it why it is used to enclose two strings at the same time. Does it means to concatenate both strings together? Or it doesn't have any meanings at all.
Can anybody tell me what's the the meaning of __( ) AND when or how we can use it? I've been searching else where but just can't find the answer. PLEASE... PLEASE HELP ME!