Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter rhavin0

    (@rhavin0)

    The code “$manager = get_user_by( ‘id’, $manager_id )” might return false. The function fails to check for that and to return gracefully.

    Correct code:

       $manager = get_user_by( 'id', $manager_id );
    if ($manager === false)
    return;

    • This reply was modified 6 months ago by rhavin0.
    Thread Starter rhavin0

    (@rhavin0)

    I can already set up the dropdown with a custom Variation and Pipes, like this:

    Variant 1 | Variant 2 | Variant 3
    Is’nt there any syntax that lets me access the translated variable? Like Variant 1 {‘color’,’green’} | Variant 2 {‘color’,’red’}| Variant 3 {‘color’,’blue’}

    to get green in english and grün in german at the fields position?

    Where would I need to hook-in if i’d wanna code that myself?

    • This reply was modified 1 year, 7 months ago by rhavin0.
    Thread Starter rhavin0

    (@rhavin0)

    I dont know, I didnt set this page up, I just have to admin it 😀
    Where can I get a list of shortcodes and ther registration file? Do I have to search the filesystem for them or is there an in-dashbord-way to show wich shortcode has been registred where and is leading to what expansion function?

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