403Webshell
Server IP : 194.30.32.123  /  Your IP : 216.73.216.89
Web Server : Apache
System : Linux eab357717bca 5.10.0-44-amd64 #1 SMP Debian 5.10.257-1 (2026-05-27) x86_64
User : ftpbegirale ( 1001)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,show_source
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /expert/htwebs/www.begirale.com/public/wp-content/plugins/types/embedded/includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /expert/htwebs/www.begirale.com/public/wp-content/plugins/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;
}

Youez - 2016 - github.com/yon3zu
LinuXploit