REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.58 KB
Close
/home/nshryvcy/taramarriagebureau.com/wp-content/plugins/mailchimp-for-wp/includes/forms/functions.php
Text
Base64
<?php /** * 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('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('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
2025-04-30 03:17:28
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
admin-functions.php
623 B
lrw-r--r--
2025-04-30 03:17:28
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-admin.php
16.73 KB
lrw-r--r--
2025-04-30 03:17:28
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-asset-manager.php
6.28 KB
lrw-r--r--
2025-04-30 03:17:28
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-form-amp.php
2.37 KB
lrw-r--r--
2025-04-30 03:17:28
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-form-element.php
10.82 KB
lrw-r--r--
2025-04-30 03:17:28
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-form-listener.php
11.21 KB
lrw-r--r--
2025-04-30 03:17:28
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-form-manager.php
4.78 KB
lrw-r--r--
2025-04-30 03:17:28
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-form-message.php
574 B
lrw-r--r--
2025-04-30 03:17:28
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-form-previewer.php
896 B
lrw-r--r--
2025-04-30 03:17:28
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-form-tags.php
3.32 KB
lrw-r--r--
2025-04-30 03:17:28
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-form.php
20.79 KB
lrw-r--r--
2025-04-30 03:17:28
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-output-manager.php
2.96 KB
lrw-r--r--
2025-04-30 03:17:28
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-widget.php
3.74 KB
lrw-r--r--
2025-04-30 03:17:28
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
functions.php
1.58 KB
lrw-r--r--
2025-04-30 03:17:28
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).