Skip to content

Commit ece51e6

Browse files
committed
Make sure the first example contains all possible plugin parameters.
1 parent b1f4ea5 commit ece51e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

example.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ function my_theme_register_required_plugins() {
5555
'force_activation' => false, // If true, plugin is activated upon theme activation and cannot be deactivated until theme switch.
5656
'force_deactivation' => false, // If true, plugin is deactivated upon theme switch, useful for theme-specific plugins.
5757
'external_url' => '', // If set, overrides default API URL and points to an external URL.
58+
'is_callable' => '', // If set, this callable will be be checked for availability to determine if a plugin is active.
5859
),
5960

6061
// This is an example of how to include a plugin from an arbitrary external source in your theme.

0 commit comments

Comments
 (0)