fork download
  1. function __($param1,$param2){}
  2.  
  3. $customFields = array(
  4. "name" => "some_name",
  5. "title" => __("some Title","text_domain"),// ERROR OCCUR
  6. "description" => "Some Desctiption Text",
  7. "type" => "k_upload",
  8. "scope" => array( "post" ),
  9. "capability" => "edit_post"
  10. ),
  11. );
  12.  
  13.  
Success #stdin #stdout 0.01s 20520KB
stdin
Standard input is empty
stdout
function __($param1,$param2){}

$customFields = array(
		array(
                "name"          => "some_name",
                "title"         => __("some Title","text_domain"),// ERROR OCCUR
                "description"   => "Some Desctiption Text",
                "type"          => "k_upload",
                "scope"         =>  array( "post" ),
                "capability"    => "edit_post"
            ),
         );