}e ) ) { return $loaded; } else { $mofile = WP_LANG_DIR . '/plugins/' . $mofile; return load_textdomain( $domain, $mofile ); } $l10n[$domain] = $mo_orig; } return false; } function wpcf7_load_modules() { $dir = WPCF7_PLUGIN_MODULES_DIR; if ( empty( $dir ) || ! is_dir( $dir ) ) { return false; } $mods = array( 'acceptance', 'flamingo', 'akismet', 'jetpack', 'submit', 'captcha', 'number', 'text', 'checkbox', 'quiz', 'textarea', 'date', 'response', 'file', 'select', 'listo', 'count' ); foreach ( $mods as $mod ) { $file = trailingslashit( $dir ) . $mod . '.php'; if ( file_exists( $file ) ) { include_once $file; } } } function wpcf7_get_request_uri() { static $request_uri = ''; if ( empty( $request_uri ) ) { $request_uri = add_query_arg( array() ); } return esc_url_raw( $request_uri ); } function wpcf7_register_post_types() { if ( class_exists( 'WPCF7_ContactForm' ) ) { WPCF7_ContactForm::register_post_type(); return true; } else { return false; } } function wpcf7_version( $args = '' ) { $defaults = array( 'limit' => -1, 'only_major' => false ); $args = wp_parse_args( $args, $defaults ); if ( $args['only_major'] ) { $args['limit'] = 2; } $args['limit'] = (int) $args['limit']; $ver = WPCF7_VERSION; $ver = strtr( $ver, '_-+', '...' ); $ver = preg_replace( '/[^0-9.]+/', ".$0.", $ver ); $ver = preg_replace( '/[.]+/', ".", $ver ); $ver = trim( $ver, '.' ); $ver = explode( '.', $ver ); if ( -1 < $args['limit'] ) { $ver = array_slice( $ver, 0, $args['limit'] ); } $ver = implode( '.', $ver ); return $ver; } function wpcf7_version_grep( $version, array $input ) { $pattern = '/^' . preg_quote( (string) $version, '/' ) . '(?:\.|$)/'; return preg_grep( $pattern, $input ); } function wpcf7_enctype_value( $enctype ) { $enctype = trim( $enctype ); if ( empty( $enctype ) ) { return ''; } $valid_enctypes = array( 'application/x-www-form-urlencoded', 'multipart/form-data', 'text/plain' ); if ( in_array( $enctype, $valid_enctypes ) ) { return $enctype; } $pattern = '%^enctype="(' . implode( '|', $valid_enctypes ) . ')"$%'; if ( preg_match( $pattern, $enctype, $matches ) ) { return $matches[1]; // for back-compat } return ''; } function wpcf7_rmdir_p( $dir ) { if ( is_file( $dir ) ) { @unlink( $dir ); return true; } if ( ! is_dir( $dir ) ) { return false; } if ( $handle = @opendir( $dir ) ) { while ( false !== ( $file = readdir( $handle ) ) ) { if ( $file == "." || $file == ".." ) { continue; } wpcf7_rmdir_p( path_join( $dir, $file ) ); } closedir( $handle ); } return @rmdir( $dir ); } /* From _http_build_query in wp-includes/functions.php */ function wpcf7_build_query( $args, $key = '' ) { $sep = '&'; $ret = array(); foreach ( (array) $args as $k => $v ) { $k = urlencode( $k ); if ( ! empty( $key ) ) { $k = $key . '%5B' . $k . '%5D'; } if ( null === $v ) { continue; } elseif ( false === $v ) { $v = '0'; } if ( is_array( $v ) || is_object( $v ) ) { array_push( $ret, wpcf7_build_query( $v, $k ) ); } else { array_push( $ret, $k . '=' . urlencode( $v ) ); } } return implode( $sep, $ret ); } /** * Returns the number of code units in a string. * * @see http://www.w3.org/TR/html5/infrastructure.html#code-unit-length * * @return int|bool The number of code units, or false if mb_convert_encoding is not available. */ function wpcf7_count_code_units( $string ) { static $use_mb = null; if ( is_null( $use_mb ) ) { $use_mb = function_exists( 'mb_convert_encoding' ); } if ( ! $use_mb ) { return false; } $string = (string) $string; $encoding = mb_detect_encoding( $string, mb_detect_order(), true ); if ( $encoding ) { $string = mb_convert_encoding( $string, 'UTF-16', $encoding ); } else { $string = mb_convert_encoding( $string, 'UTF-16', 'UTF-8' ); } $byte_count = mb_strlen( $string, '8bit' ); return floor( $byte_count / 2 ); } ?>?>?>?>?>?>?>
Fatal error: Call to undefined function get_theme_captcha() in /home/socialprofit/public_html/socialprofitakademie/wp-content/themes/cleanspace/functions.php on line 812