function cred_edit_post_link($form, $post_id = false, $text = '', $class = '', $style = '', $target = '', $attributes = '', $return = false) { $output = CRED_CRED::cred_edit_post_link($form, $post_id, $text, $class, $style, $target, $attributes); if ($return) { return $output; } echo $output; }