19 articles Plugin API Page 2 / 4

eForm comes with a handful of Application Programming Interface (API). All of them are nothing but hooks and filters inherited from WordPress itself. If you are a developer and would like to extend the functionality, then this is where you can learn from.

eForm CSS and JS enqueue

Here is a list of all external scripts and styles used by eForm. JavaScript Enqueue Script Name Handle Dependency Source jQuery Timepicker Addon jquery-timepicker-addon jquery /lib/classes/class-ipt-plugin-uif-base.php jQuery Print Element jquery-print-element jQuery Mousewheel Intent jquery-mwheelIntent jQuery Mousewheel jquery-mousewheel jQuery Serialize JSON jquery-serializejson jQuery JSON jquery-json jQuery Custom Scrollbar ipt-plugin-uif-js-mcs jquery /lib/classes/class-ipt-plugin-uif-admin.php Font Icon Picker ipt-plugin-uif-fip-js ipt-plugin-uif-admin-js…

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 )…

  • Page 2 of 4
  • 1
  • 2
  • 3
  • 4