REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.63 KB
Close
/home/nshryvcy/radiantskinclinics.org/wp-content/plugins/mailchimp-for-wp/includes/forms/functions.php
Text
Base64
<?php defined('ABSPATH') or exit; /** * Returns a Form instance * * @access public * * @param int|WP_Post $form_id. * * @return MC4WP_Form */ function mc4wp_get_form($form_id = 0) { return MC4WP_Form::get_instance($form_id); } /** * Get an array of Form instances * * @access public * * @param array $args Array of parameters * * @return MC4WP_Form[] */ function mc4wp_get_forms(array $args = []) { // parse function arguments $default_args = [ 'post_status' => 'publish', 'posts_per_page' => -1, 'ignore_sticky_posts' => true, 'no_found_rows' => true, ]; $args = array_merge($default_args, $args); // set post_type here so it can't be overwritten using function arguments $args['post_type'] = 'mc4wp-form'; $q = new WP_Query(); $posts = $q->query($args); $forms = []; foreach ($posts as $post) { try { $form = mc4wp_get_form($post); } catch (Exception $e) { continue; } $forms[] = $form; } return $forms; } /** * Echoes the given form * * @access public * * @param int $form_id * @param array $config * @param bool $echo * * @return string */ function mc4wp_show_form($form_id = 0, $config = [], $echo = true) { /** @var MC4WP_Form_Manager $forms */ $forms = mc4wp_get_service('forms'); return $forms->output_form($form_id, $config, $echo); } /** * Gets an instance of the submitted form, if any. * * @access public * * @return MC4WP_Form|null */ function mc4wp_get_submitted_form() { return mc4wp_get_service('forms')->get_submitted_form(); }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 1 × Files: 14
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
views
DIR
-
drwxr-xr-x
2026-06-02 02:37:46
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
admin-functions.php
653 B
lrw-r--r--
2026-05-05 15:22:30
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-admin.php
15.63 KB
lrw-r--r--
2026-06-01 10:03:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-asset-manager.php
7.99 KB
lrw-r--r--
2026-06-01 10:03:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-form-amp.php
2.40 KB
lrw-r--r--
2026-05-05 15:22:30
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-form-element.php
10.99 KB
lrw-r--r--
2026-03-26 16:34:04
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-form-listener.php
10.77 KB
lrw-r--r--
2026-06-01 10:03:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-form-manager.php
4.89 KB
lrw-r--r--
2026-05-05 15:22:30
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-form-message.php
574 B
lrw-r--r--
2024-07-17 12:45:58
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-form-previewer.php
967 B
lrw-r--r--
2026-06-01 10:03:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-form-tags.php
3.37 KB
lrw-r--r--
2026-06-01 10:03:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-form.php
22.22 KB
lrw-r--r--
2026-05-26 15:47:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-output-manager.php
3.90 KB
lrw-r--r--
2026-05-05 15:22:30
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-widget.php
4.44 KB
lrw-r--r--
2026-05-05 15:22:30
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
functions.php
1.63 KB
lrw-r--r--
2026-06-01 10:03:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).