Hi I just got into wordpress theme development and I have seen many developers when setting the attribute for in for a function in an array use this sintax:
'name' => __( 'Portfolio'),
'singular_name' => __('Portfolio'),
I have tryed it and I could not find it any difference then writing it like this:
'name' => 'Portfolio',
'singular_name' => 'Portfolio',
Aldo I am a total beginner in both php and wordpress so maybe that's why.
So is there a difference beetween the two ways of writing?If so witch is better?