• Imagedr

    (@daniel_richard)


    Here’s a weird one.

    function custom_function_send_email( $post_id ) {}

    Is calling an wp-content/plugins/code-snippets/php/snippet-ops.php(361) : eval()’d code:1

    However, that same blank function added to functions.php doesn’t produce the same error.

    Note:
    code-snippets/php/snippet-ops.php line 361
    $result = eval( $code );

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘eval()’ code error on an empty function’ is closed to new replies.