/** * 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(); } Terms - Prebusinessnews
Site icon Prebusinessnews

Terms

Terms and Conditions

Welcome to prebusinessnews.com. By accessing this website, you agree to comply with and be bound by the following terms and conditions of use. If you do not agree with these terms, please refrain from using our website.

1. Acceptance of Terms

By using prebusinessnews.com, you acknowledge that you have read, understood, and agree to be bound by these terms and conditions. We reserve the right to update or modify these terms at any time without prior notice. Your continued use of the website after such changes constitutes acceptance of the new terms.

2. Intellectual Property

All content on this website, including but not limited to text, graphics, logos, images, audio clips, and software, is the property of prebusinessnews.com and is protected by international copyright laws. Unauthorized use of the content may violate copyright, trademark, and other applicable laws.

3. User Conduct

You agree not to engage in any activity that may disrupt or interfere with the functioning of prebusinessnews.com. This includes but is not limited to hacking, distributing malware, or engaging in any activity that may compromise the security of the website.

4. Privacy Policy

Our privacy policy outlines how we collect, use, and protect your personal information. By using this website, you consent to the terms of our privacy policy.

5. Disclaimer of Warranties

This website is provided “as is” without any representations or warranties, express or implied. prebusinessnews.com makes no representations or warranties in relation to this website or the information and materials provided on this website.

6. Limitation of Liability

prebusinessnews.com will not be liable to you (whether under the law of contact, the law of torts, or otherwise) in relation to the contents of, or use of, or otherwise in connection with, this website for any indirect, special, or consequential loss.

7. Governing Law

These terms and conditions are governed by and construed in accordance with the laws of [your jurisdiction].

Contact Information:

If you have any questions or concerns about these terms and conditions, please contact us at [your contact information].

Exit mobile version