Hello. the second parameter of the function must peredovat array for this function. You have passed is not an array: [get_the_time(`c`), human_time_diff( get_the_time(`U`) )] Use the definition of an array: printf( $f, array(get_the_time(`c`), human_time_diff( get_the_time(`U`) )) ); Either using your version of the definition of the array but initializing the variable: $a = [get_the_time(`c`), human_time_diff( get_the_time(`U`) )]; printf( $f, $a ); |