We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a6a0b3a + c981b5d commit 01212aeCopy full SHA for 01212ae
example.php
@@ -19,10 +19,22 @@
19
20
/**
21
* Include the TGM_Plugin_Activation class.
22
+ *
23
+ * Depending on your implementation, you may want to change the include call:
24
25
+ * Parent Theme:
26
+ * require_once get_template_directory() . '/path/to/class-tgm-plugin-activation.php';
27
28
+ * Child Theme:
29
+ * require_once get_stylesheet_directory() . '/path/to/class-tgm-plugin-activation.php';
30
31
+ * Plugin:
32
+ * require_once dirname( __FILE__ ) . '/path/to/class-tgm-plugin-activation.php';
33
*/
34
require_once dirname( __FILE__ ) . '/class-tgm-plugin-activation.php';
35
36
add_action( 'tgmpa_register', 'my_theme_register_required_plugins' );
37
+
38
39
* Register the required plugins for this theme.
40
*
0 commit comments