/** * Used for processing conditional statements. * * Wrapper for wpcf_cd_post_edit_field_filter() * core function. * * @param type $element * @param type $field * @param type $post_id * @param string $context * @return type */ function types_conditional_evaluate($field, $post_id = null) { return wpcf_conditional_evaluate($post_id, $field); }
/** * Used for processing conditional statements. * * Wrapper for wpcf_cd_post_edit_field_filter() * core function. * * @param type $element * @param type $field * @param type $post * @param string $context * @return type */ function types_conditional_evaluate($post, $field) { return wpcf_conditional_evaluate($post, $field); }