View atarim-support-for-fluent-crm.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter('fluent_crm_asset_listed_slugs', function ($slugs) { | |
$slugs[] = '\/atarim-visual-collaboration\/'; | |
return $slugs; | |
}); |
View fluent-forms-title-to-form-html.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Add Title Attributes to Fluent Forms | |
*/ | |
add_filter('fluent_form_html_attributes', function ($atts, $form) { | |
$atts['name'] = esc_attr($form->title); | |
return $atts; | |
}, 10, 2); |
View fluent-form-landing-slug.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Internal Function for Fluent Forms Custom Slug | |
* Do not EDIT this function | |
*/ | |
function customFfLandingPageSlug($slug) | |
{ | |
add_action('init', function () use ($slug) { | |
add_rewrite_endpoint($slug, EP_ALL); |
View fluent_form_user_role_change.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action('fluentform_submission_inserted', function ($insertId, $formData, $form) { | |
if($form->id != 23) { // 23 is your target form id | |
return; | |
} | |
$userId = get_current_user_id(); | |
if(!$userId) { | |
return; |
View fluentcrom-meta-integration.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* FluentCRM Pro has integration with various plugin as WordPress Post/Settings meta. | |
* You can disable that by snippet and match plugin | |
*/ | |
add_filter('fluentcrm_disable_integration_metaboxes', function($status, $plugin) { | |
$disableFluentCRMMeta = ['learndash','learnpress','lifterlms','tutorlms','woocommerce', 'edd']; |
View FluentFormCustomImporter.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class FluentFormCustomImporter | |
{ | |
protected function getDemoForms() | |
{ | |
return [ | |
'[{"id":"9","title":"Contact Form Demo","status":"published","appearance_settings":null,"form_fields":{"fields":[{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":"First Name"},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error |
View add_own_custom_forms_demo.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter('fluentform_predefined_forms', function ($demoForms) { | |
$demoForms['nicolas_form_1'] = array( | |
'screenshot' => '', // You may add your form screenshot here | |
'createable' => true, | |
'title' => 'Form 1 by Nicolas', | |
'tag' => ["nicolas form"], |
View return-raw-url-fluentform.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* If you want to return raw provided url without any sanitization and security check then you can use this snippet. | |
*/ | |
add_filter('fluentform_submission_confirmation', function ($returnData, $form, $confirmation) { | |
if(empty($returnData['redirectUrl'])) { | |
return $returnData; | |
} |
View fluentform-extra-form-settings.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Inject Link Form Settings Menu | |
add_filter('fluentform_form_settings_menu', function ($items) { | |
$items['my_menu_slug'] = [ | |
'title' => 'My Menu Title', | |
'slug' => 'my_settings_slug' | |
]; | |
return $items; |
NewerOlder