当前位置: 首页>>代码示例>>PHP>>正文


PHP GFAddOn::pre_init方法代码示例

本文整理汇总了PHP中GFAddOn::pre_init方法的典型用法代码示例。如果您正苦于以下问题:PHP GFAddOn::pre_init方法的具体用法?PHP GFAddOn::pre_init怎么用?PHP GFAddOn::pre_init使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在GFAddOn的用法示例。


在下文中一共展示了GFAddOn::pre_init方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: pre_init

 /**
  * Handles anything which requires early initialization.
  */
 public function pre_init()
 {
     parent::pre_init();
     if ($this->is_gravityforms_supported() && class_exists('GF_Field')) {
         require_once 'includes/class-gf-field-signature.php';
         add_action('parse_request', array($this, 'display_signature'));
     }
 }
开发者ID:wp-premium,项目名称:gravityformssignature,代码行数:11,代码来源:class-gf-signature.php

示例2: pre_init

 /**
  * Handles anything which requires early initialization.
  */
 public function pre_init()
 {
     parent::pre_init();
     if ($this->is_gravityforms_supported() && class_exists('GF_Field')) {
         require_once 'includes/class-gf-field-poll.php';
         add_action('gform_after_submission', array($this, 'after_submission'), 10, 2);
         add_filter('gform_export_field_value', array($this, 'display_entries_field_value'), 10, 4);
         add_action('gform_polls_cron', array($this, 'wp_cron_task'));
     }
 }
开发者ID:GravityPDF,项目名称:gravityformspolls,代码行数:13,代码来源:class-gf-polls.php

示例3: pre_init

 /**
  * Handles anything which requires early initialization.
  */
 public function pre_init()
 {
     parent::pre_init();
     if ($this->is_gravityforms_supported() && class_exists('GF_Field')) {
         require_once 'includes/class-gf-field-survey.php';
         require_once 'includes/class-gf-field-likert.php';
         require_once 'includes/class-gf-field-rank.php';
         require_once 'includes/class-gf-field-rating.php';
         add_filter('gform_export_field_value', array($this, 'export_field_value'), 10, 4);
     }
 }
开发者ID:GravityPDF,项目名称:gravityformssurvey,代码行数:14,代码来源:class-gf-survey.php

示例4: pre_init

 public function pre_init()
 {
     parent::pre_init();
     //Check for updates
     add_action('plugins_loaded', array($this, 'check_update'));
 }
开发者ID:BAY-A,项目名称:Gravity-Forms-DigitalOcean,代码行数:6,代码来源:gravityforms-digitalocean.php

示例5: pre_init

 public function pre_init()
 {
     parent::pre_init();
     add_action("init", array($this, "prepopulate_frontend"), 10, 2);
 }
开发者ID:asithade,项目名称:gravity-forms-prepopulate,代码行数:5,代码来源:prepopulate.php

示例6: pre_init

 public function pre_init()
 {
     parent::pre_init();
     // add tasks or filters here that you want to perform during the class constructor - before WordPress has been completely initialized
 }
开发者ID:jjozwiak,项目名称:gravityforms-csv-schedule-export,代码行数:5,代码来源:scheduled-export.php

示例7: pre_init

 /**
  * Handles anything which requires early initialization.
  */
 public function pre_init()
 {
     parent::pre_init();
     if ($this->is_gravityforms_supported() && class_exists('GF_Field')) {
         require_once 'includes/class-gf-field-quiz.php';
         add_filter('gform_export_field_value', array($this, 'display_export_field_value'), 10, 4);
     }
 }
开发者ID:GravityPDF,项目名称:gravityformsquiz,代码行数:11,代码来源:class-gf-quiz.php


注:本文中的GFAddOn::pre_init方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。