Swashata has written 257 articles

Hi there, I am the Lead Developer at WPQuark.com. I love to create something beautiful for WordPress and here I write about how to use them. When I am not working, usually I am doing a number of other creative things ;).

APIs on User Portal & Trackback

Filter: ipt_fsqm_up_filter_action_button Used to add buttons inside user portal call to action section. Filter Uses Accepts two arguments. Please see source code below. [php] /** * Add download button inside user portal * * @param array $buttons Associative array of button elements * @param object $form Reference to the IPT_FSQM_Form_Elements_Data object * * @return array…

APIs on enqueue and libraries

Hook: ipt_fsqm_form_elements_front_enqueue Triggered when the form enqueues its needed scripts and styles. Hook Uses Passes one argument, a reference to the IPT_FSQM_Form_Elements_Front object. [php] /** * Enqueue our own script during eForm frontend enqueue * * @param object $obj Reference to IPT_FSQM_Form_Elements_Front object */ function fsqm_front_enqueue( $obj ) { // Do something in the enqueue…

APIs on standalone permalink

Filter: ipt_fsqm_standalone_base Used to modify the standalone permalink base of eForm forms. Filter Uses Accepts one argument, a string which represents the original base. [php] /** * Force set a permanent permalink base for FSQM * Filters ipt_fsqm_standalone_base * * @param string $base The origin base * * @return string */ function force_fsqm_sa_base( $base )…

APIs on form output

Hook: ipt_fsqm_hook_form_before Triggered right before the output of the actual form. This is triggered only if the form is submitable. Hook Uses Accepts one parameter, a reference to the IPT_FSQM_Form_Elements_Front object. [php] /** * Hooks into fsqm form output (before all elements) * And prints some custom HTML * * @param object $obj Reference to…

APIs on label and richtext output handling

Filter: ipt_uif_richtext This filter is used to modify the richtext contents of element descriptions. Filter Uses Accepts one argument, the HTML string (rich text). [php] /** * Modifies RichText Elements inside all eForm output * * @param string $text Original text/html * * @return string */ function modify_fsqm_richtext( $text ) { // Perform some action…