• My plugin has a function which is will display a listing. It is intended to be called from various pages with a parameter. I have set a default value but this does not get passed to the function code.
    example code is `function los_mem_test($a=1)
    {
    echo “a is[” .$a .”]<br />”;
    }`

    this returns a is[].

    Any ideas please? I’m sure it must be something basic, which I can’t see.

    Thanks

  • The topic ‘Function called does not use default value’ is closed to new replies.