<?php /** * All the functions and classes in this file are deprecated. * You should not use them. The functions and classes will be * removed in a later version. */ function wpcf7_add_shortcode( $tag, $callback, $has_name = false ) { wpcf7_deprecated_function( __FUNCTION__, '4.6', 'wpcf7_add_form_tag' ); return wpcf7_add_form_tag( $tag, $callback, $has_name ); } function wpcf7_remove_shortcode( $tag ) { wpcf7_deprecated_function( __FUNCTION__, '4.6', 'wpcf7_remove_form_tag' ); return wpcf7_remove_form_tag( $tag ); } function wpcf7_do_shortcode( $content ) { wpcf7_deprecated_function( __FUNCTION__, '4.6', 'wpcf7_replace_all_form_tags' ); return wpcf7_replace_all_form_tags( $content ); } function wpcf7_scan_shortcode( $cond = null ) { wpcf7_deprecated_function( __FUNCTION__, '4.6', 'wpcf7_scan_form_tags' ); return wpcf7_scan_form_tags( $cond ); } class WPCF7_ShortcodeManager { private static $form_tags_manager; private function __construct() {} public static function get_instance() { wpcf7_deprecated_function( __METHOD__, '4.6', 'WPCF7_FormTagsManager::get_instance' ); self::$form_tags_manager = WPCF7_FormTagsManager::get_instance(); return new self; } public function get_scanned_tags() { wpcf7_deprecated_function( __METHOD__, '4.6', 'WPCF7_FormTagsManager::get_scanned_tags' ); return self::$form_tags_manager->get_scanned_tags(); } public function add_shortcode( $tag, $callback, $has_name = false ) { wpcf7_deprecated_function( __METHOD__, '4.6', 'WPCF7_FormTagsManager::add' ); return self::$form_tags_manager->add( $tag, $callback, $has_name ); } public function remove_shortcode( $tag ) { wpcf7_deprecated_function( __METHOD__, '4.6', 'WPCF7_FormTagsManager::remove' ); return self::$form_tags_manager->remove( $tag ); } public function normalize_shortcode( $content ) { wpcf7_deprecated_function( __METHOD__, '4.6', 'WPCF7_FormTagsManager::normalize' ); return self::$form_tags_manager->normalize( $content ); } public function do_shortcode( $content, $exec = true ) { wpcf7_deprecated_function( __METHOD__, '4.6', 'WPCF7_FormTagsManager::replace_all' ); if ( $exec ) { return self::$form_tags_manager->replace_all( $content ); } else { return self::$form_tags_manager->scan( $content ); } } public function scan_shortcode( $content ) { wpcf7_deprecated_function( __METHOD__, '4.6', 'WPCF7_FormTagsManager::scan' ); return self::$form_tags_manager->scan( $content ); } } class WPCF7_Shortcode extends WPCF7_FormTag { public function __construct( $tag ) { wpcf7_deprecated_function( 'WPCF7_Shortcode', '4.6', 'WPCF7_FormTag' ); parent::__construct( $tag ); } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
block-editor | Folder | 0755 |
|
|
config-validator | Folder | 0755 |
|
|
css | Folder | 0755 |
|
|
js | Folder | 0755 |
|
|
swv | Folder | 0755 |
|
|
capabilities.php | File | 834 B | 0644 |
|
contact-form-functions.php | File | 10.25 KB | 0644 |
|
contact-form-template.php | File | 5.69 KB | 0644 |
|
contact-form.php | File | 30.58 KB | 0644 |
|
controller.php | File | 3.19 KB | 0644 |
|
file.php | File | 10.15 KB | 0644 |
|
form-tag.php | File | 13.42 KB | 0644 |
|
form-tags-manager.php | File | 14.23 KB | 0644 |
|
formatting.php | File | 13.5 KB | 0644 |
|
functions.php | File | 15.54 KB | 0644 |
|
html-formatter.php | File | 16.32 KB | 0644 |
|
integration.php | File | 8.75 KB | 0644 |
|
l10n.php | File | 3.37 KB | 0644 |
|
mail-tag.php | File | 4.1 KB | 0644 |
|
mail.php | File | 14.53 KB | 0644 |
|
pipe.php | File | 2.56 KB | 0644 |
|
pocket-holder.php | File | 325 B | 0644 |
|
rest-api.php | File | 12.88 KB | 0644 |
|
shortcodes.php | File | 2.65 KB | 0644 |
|
special-mail-tags.php | File | 6.5 KB | 0644 |
|
submission.php | File | 20.31 KB | 0644 |
|
upgrade.php | File | 3 KB | 0644 |
|
validation-functions.php | File | 6.66 KB | 0644 |
|
validation.php | File | 3.22 KB | 0644 |
|