Support » Plugin: GD Star Rating » I need to use "if" function in an other function

  • Hello!

    I’m trying to do this:

    if ( (wp_gdsr_render_article($template_id = 65)) == 5 ) {				?>

    My function wp_gdsr_render_article($template_id = 65) returns the number of votes of the current post.

    But the “if” function is not working. Instead of the “if” function show “Done!”, the wp_gdsr_render_article function is showing the number of votes. Is like the function wp_gdsr_render_article were giving an “echo”.

    I don´t know if I made ​​myself clear because my english is terrible!

    How can i do this check? Can someone help me?


  • The topic ‘I need to use "if" function in an other function’ is closed to new replies.