Skip to content

Instantly share code, notes, and snippets.

@reachkamrul
Last active November 11, 2022 18:30
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reachkamrul/5737af6ed143fa06a7294a1d7e95f9bb to your computer and use it in GitHub Desktop.
Save reachkamrul/5737af6ed143fa06a7294a1d7e95f9bb to your computer and use it in GitHub Desktop.
$shortcodeDefaults = apply_filters('fluentform_info_shortcode_defaults', array(
'id' => null, // This is the form id
'info' => 'submission_count', // submission_count | created_at | updated_at | payment_total
'status' => 'all', // get submission count of a particular entry status favourites | unread | read
'with_trashed' => 'no', // yes | no
'substract_from' => 0, // [fluentform_info id="2" info="submission_count" substract_from="20"]
'hide_on_zero' => 'no',
'payment_status' => 'paid', // paid | all | pending | failed
'currency_formatted' => 'yes',
'date_format' => ''
), $atts);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment