error_log() in wordpress code example
Example 1: error_log wordpress
error_log( print_r( 'Hello World!', true ) );
Example 2: error_log wordpress
error_log( 'Hello World!' );
error_log( print_r( 'Hello World!', true ) );
error_log( 'Hello World!' );