3v4l.org

run code in 300+ PHP versions simultaneously
<?php define( 'ONETONE_THEME_BASE_URL', get_template_directory_uri()); define( 'ONETONE_OPTIONS_FRAMEWORK', get_template_directory().'/admin/' ); define( 'ONETONE_OPTIONS_FRAMEWORK_URI', ONETONE_THEME_BASE_URL. '/admin/'); define('ONETONE_OPTIONS_PREFIXED' ,'onetone_'); define( 'OPTIONS_FRAMEWORK_DIRECTORY', get_template_directory_uri() . '/admin/' ); require_once dirname( __FILE__ ) . '/admin/options-framework.php'; require_once get_template_directory() . '/includes/admin-options.php'; /** * Required: include options framework. **/ load_template( trailingslashit( get_template_directory() ) . 'admin/options-framework.php' ); /** * Mobile Detect Library **/ if(!class_exists("Mobile_Detect")){ load_template( trailingslashit( get_template_directory() ) . 'includes/Mobile_Detect.php' ); } /** * Theme setup **/ load_template( trailingslashit( get_template_directory() ) . 'includes/theme-setup.php' ); /** * custom post type **/ load_template( trailingslashit( get_template_directory() ) . 'includes/post-type.php' ); /** * Theme Functions **/ load_template( trailingslashit( get_template_directory() ) . 'includes/theme-functions.php' ); /** * Theme breadcrumb **/ load_template( trailingslashit( get_template_directory() ) . 'includes/class-breadcrumb.php'); /** * Theme widget **/ load_template( trailingslashit( get_template_directory() ) . 'includes/theme-widget.php' ); /** * google fonts **/ load_template( trailingslashit( get_template_directory() ) . 'includes/google-fonts.php' ); /** * shortcodes **/ load_template( trailingslashit( get_template_directory() ) . 'includes/shortcodes.php' ); /** * portfolio galleries **/ load_template( trailingslashit( get_template_directory() ) . 'includes/gallery/featured-galleries.php' ); /** * Woocommerce template **/ if (class_exists('WooCommerce')) { require_once (get_template_directory() .'/woocommerce/config.php'); } /** * Include the TGM_Plugin_Activation class. */ load_template( trailingslashit( get_template_directory() ) . 'includes/class-tgm-plugin-activation.php' ); add_action( 'tgmpa_register', 'onetone_theme_register_required_plugins' ); /** * Register the required plugins for this theme. * * In this example, we register two plugins - one included with the TGMPA library * and one from the .org repo. * * The variable passed to tgmpa_register_plugins() should be an array of plugin * arrays. * * This function is hooked into tgmpa_init, which is fired within the * TGM_Plugin_Activation class constructor. */ function onetone_theme_register_required_plugins() { /** * Array of plugin arrays. Required keys are name and slug. * If the source is NOT from the .org repo, then source is also required. */ $plugins = array( // This is an example of how to include a plugin pre-packaged with a theme array( 'name' => 'Revolution Slider', // The plugin name 'slug' => 'revslider', // The plugin slug (typically the folder name) 'source' => get_template_directory() . '/plugins/revslider.zip', // The plugin source 'required' => false, // If false, the plugin is only 'recommended' instead of required 'version' => '4.6.0', // E.g. 1.0.0. If set, the active plugin must be this version or higher, otherwise a notice is presented 'force_activation' => false, // If true, plugin is activated upon theme activation and cannot be deactivated until theme switch 'force_deactivation' => false, // If true, plugin is deactivated upon theme switch, useful for theme-specific plugins 'external_url' => '', // If set, overrides default API URL and points to an external URL ), array( 'name' => 'LayerSlider WP', // The plugin name 'slug' => 'LayerSlider', // The plugin slug (typically the folder name) 'source' => get_template_directory() . '/plugins/LayerSlider.zip', // The plugin source 'required' => false, // If false, the plugin is only 'recommended' instead of required 'version' => '5.1.1', // E.g. 1.0.0. If set, the active plugin must be this version or higher, otherwise a notice is presented 'force_activation' => false, // If true, plugin is activated upon theme activation and cannot be deactivated until theme switch 'force_deactivation' => false, // If true, plugin is deactivated upon theme switch, useful for theme-specific plugins 'external_url' => '', // If set, overrides default API URL and points to an external URL ) ); /** * Array of configuration settings. Amend each line as needed. * If you want the default strings to be available under your own theme domain, * leave the strings uncommented. * Some of the strings are added into a sprintf, so see the comments at the * end of each line for what each argument will be. */ $config = array( 'id' => 'tgmpa', // Unique ID for hashing notices for multiple instances of TGMPA. 'default_path' => '', // Default absolute path to pre-packaged plugins. 'menu' => 'tgmpa-install-plugins', // Menu slug. 'has_notices' => true, // Show admin notices or not. 'dismissable' => true, // If false, a user cannot dismiss the nag message. 'dismiss_msg' => '', // If 'dismissable' is false, this message will be output at top of nag. 'is_automatic' => false, // Automatically activate plugins after installation or not. 'message' => '', // Message to output right before the plugins table. 'strings' => array( 'page_title' => __( 'Install Required Plugins', 'onetone' ), 'menu_title' => __( 'Install Plugins', 'onetone' ), 'installing' => __( 'Installing Plugin: %s', 'onetone' ), // %s = plugin name. 'oops' => __( 'Something went wrong with the plugin API.', 'onetone' ), 'notice_can_install_required' => _n_noop( 'This theme requires the following plugin: %1$s.', 'This theme requires the following plugins: %1$s.', 'onetone' ), // %1$s = plugin name(s). 'notice_can_install_recommended' => _n_noop( 'This theme recommends the following plugin: %1$s.', 'This theme recommends the following plugins: %1$s.', 'onetone' ), // %1$s = plugin name(s). 'notice_cannot_install' => _n_noop( 'Sorry, but you do not have the correct permissions to install the %s plugin. Contact the administrator of this site for help on getting the plugin installed.', 'Sorry, but you do not have the correct permissions to install the %s plugins. Contact the administrator of this site for help on getting the plugins installed.', 'onetone' ), // %1$s = plugin name(s). 'notice_can_activate_required' => _n_noop( 'The following required plugin is currently inactive: %1$s.', 'The following required plugins are currently inactive: %1$s.', 'onetone' ), // %1$s = plugin name(s). 'notice_can_activate_recommended' => _n_noop( 'The following recommended plugin is currently inactive: %1$s.', 'The following recommended plugins are currently inactive: %1$s.', 'onetone' ), // %1$s = plugin name(s). 'notice_cannot_activate' => _n_noop( 'Sorry, but you do not have the correct permissions to activate the %s plugin. Contact the administrator of this site for help on getting the plugin activated.', 'Sorry, but you do not have the correct permissions to activate the %s plugins. Contact the administrator of this site for help on getting the plugins activated.', 'onetone' ), // %1$s = plugin name(s). 'notice_ask_to_update' => _n_noop( 'The following plugin needs to be updated to its latest version to ensure maximum compatibility with this theme: %1$s.', 'The following plugins need to be updated to their latest version to ensure maximum compatibility with this theme: %1$s.', 'onetone' ), // %1$s = plugin name(s). 'notice_cannot_update' => _n_noop( 'Sorry, but you do not have the correct permissions to update the %s plugin. Contact the administrator of this site for help on getting the plugin updated.', 'Sorry, but you do not have the correct permissions to update the %s plugins. Contact the administrator of this site for help on getting the plugins updated.', 'onetone' ), // %1$s = plugin name(s). 'install_link' => _n_noop( 'Begin installing plugin', 'Begin installing plugins', 'onetone' ), 'activate_link' => _n_noop( 'Begin activating plugin', 'Begin activating plugins', 'onetone' ), 'return' => __( 'Return to Required Plugins Installer', 'onetone' ), 'plugin_activated' => __( 'Plugin activated successfully.', 'onetone' ), 'complete' => __( 'All plugins installed and activated successfully. %s', 'onetone' ), // %s = dashboard link. 'nag_type' => 'updated' // Determines admin notice type - can only be 'updated', 'update-nag' or 'error'. ) ); tgmpa( $plugins, $config ); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 53, Position 2 = 62
Branch analysis from position: 53
2 jumps found. (Code = 43) Position 1 = 138, Position 2 = 142
Branch analysis from position: 138
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 142
Branch analysis from position: 62
filename:       /in/XA17k
function name:  (null)
number of ops:  156
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 'ONETONE_THEME_BASE_URL'
          2        INIT_FCALL_BY_NAME                                       'get_template_directory_uri'
          3        DO_FCALL                                      0  $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
    4     6        INIT_FCALL                                               'define'
          7        SEND_VAL                                                 'ONETONE_OPTIONS_FRAMEWORK'
          8        INIT_FCALL_BY_NAME                                       'get_template_directory'
          9        DO_FCALL                                      0  $2      
         10        CONCAT                                           ~3      $2, '%2Fadmin%2F'
         11        SEND_VAL                                                 ~3
         12        DO_ICALL                                                 
    5    13        INIT_FCALL                                               'define'
         14        SEND_VAL                                                 'ONETONE_OPTIONS_FRAMEWORK_URI'
         15        FETCH_CONSTANT                                   ~5      'ONETONE_THEME_BASE_URL'
         16        CONCAT                                           ~6      ~5, '%2Fadmin%2F'
         17        SEND_VAL                                                 ~6
         18        DO_ICALL                                                 
    6    19        INIT_FCALL                                               'define'
         20        SEND_VAL                                                 'ONETONE_OPTIONS_PREFIXED'
         21        SEND_VAL                                                 'onetone_'
         22        DO_ICALL                                                 
    8    23        INIT_FCALL                                               'define'
         24        SEND_VAL                                                 'OPTIONS_FRAMEWORK_DIRECTORY'
         25        INIT_FCALL_BY_NAME                                       'get_template_directory_uri'
         26        DO_FCALL                                      0  $9      
         27        CONCAT                                           ~10     $9, '%2Fadmin%2F'
         28        SEND_VAL                                                 ~10
         29        DO_ICALL                                                 
    9    30        INIT_FCALL                                               'dirname'
         31        SEND_VAL                                                 '%2Fin%2FXA17k'
         32        DO_ICALL                                         $12     
         33        CONCAT                                           ~13     $12, '%2Fadmin%2Foptions-framework.php'
         34        INCLUDE_OR_EVAL                                          ~13, REQUIRE_ONCE
   10    35        INIT_FCALL_BY_NAME                                       'get_template_directory'
         36        DO_FCALL                                      0  $15     
         37        CONCAT                                           ~16     $15, '%2Fincludes%2Fadmin-options.php'
         38        INCLUDE_OR_EVAL                                          ~16, REQUIRE_ONCE
   15    39        INIT_FCALL_BY_NAME                                       'load_template'
         40        INIT_FCALL_BY_NAME                                       'trailingslashit'
         41        INIT_FCALL_BY_NAME                                       'get_template_directory'
         42        DO_FCALL                                      0  $18     
         43        SEND_VAR_NO_REF_EX                                       $18
         44        DO_FCALL                                      0  $19     
         45        CONCAT                                           ~20     $19, 'admin%2Foptions-framework.php'
         46        SEND_VAL_EX                                              ~20
         47        DO_FCALL                                      0          
   20    48        INIT_FCALL                                               'class_exists'
         49        SEND_VAL                                                 'Mobile_Detect'
         50        DO_ICALL                                         $22     
         51        BOOL_NOT                                         ~23     $22
         52      > JMPZ                                                     ~23, ->62
   21    53    >   INIT_FCALL_BY_NAME                                       'load_template'
         54        INIT_FCALL_BY_NAME                                       'trailingslashit'
         55        INIT_FCALL_BY_NAME                                       'get_template_directory'
         56        DO_FCALL                                      0  $24     
         57        SEND_VAR_NO_REF_EX                                       $24
         58        DO_FCALL                                      0  $25     
         59        CONCAT                                           ~26     $25, 'includes%2FMobile_Detect.php'
         60        SEND_VAL_EX                                              ~26
         61        DO_FCALL                                      0          
   27    62    >   INIT_FCALL_BY_NAME                                       'load_template'
         63        INIT_FCALL_BY_NAME                                       'trailingslashit'
         64        INIT_FCALL_BY_NAME                                       'get_template_directory'
         65        DO_FCALL                                      0  $28     
         66        SEND_VAR_NO_REF_EX                                       $28
         67        DO_FCALL                                      0  $29     
         68        CONCAT                                           ~30     $29, 'includes%2Ftheme-setup.php'
         69        SEND_VAL_EX                                              ~30
         70        DO_FCALL                                      0          
   33    71        INIT_FCALL_BY_NAME                                       'load_template'
         72        INIT_FCALL_BY_NAME                                       'trailingslashit'
         73        INIT_FCALL_BY_NAME                                       'get_template_directory'
         74        DO_FCALL                                      0  $32     
         75        SEND_VAR_NO_REF_EX                                       $32
         76        DO_FCALL                                      0  $33     
         77        CONCAT                                           ~34     $33, 'includes%2Fpost-type.php'
         78        SEND_VAL_EX                                              ~34
         79        DO_FCALL                                      0          
   39    80        INIT_FCALL_BY_NAME                                       'load_template'
         81        INIT_FCALL_BY_NAME                                       'trailingslashit'
         82        INIT_FCALL_BY_NAME                                       'get_template_directory'
         83        DO_FCALL                                      0  $36     
         84        SEND_VAR_NO_REF_EX                                       $36
         85        DO_FCALL                                      0  $37     
         86        CONCAT                                           ~38     $37, 'includes%2Ftheme-functions.php'
         87        SEND_VAL_EX                                              ~38
         88        DO_FCALL                                      0          
   44    89        INIT_FCALL_BY_NAME                                       'load_template'
         90        INIT_FCALL_BY_NAME                                       'trailingslashit'
         91        INIT_FCALL_BY_NAME                                       'get_template_directory'
         92        DO_FCALL                                      0  $40     
         93        SEND_VAR_NO_REF_EX                                       $40
         94        DO_FCALL                                      0  $41     
         95        CONCAT                                           ~42     $41, 'includes%2Fclass-breadcrumb.php'
         96        SEND_VAL_EX                                              ~42
         97        DO_FCALL                                      0          
   49    98        INIT_FCALL_BY_NAME                                       'load_template'
         99        INIT_FCALL_BY_NAME                                       'trailingslashit'
        100        INIT_FCALL_BY_NAME                                       'get_template_directory'
        101        DO_FCALL                                      0  $44     
        102        SEND_VAR_NO_REF_EX                                       $44
        103        DO_FCALL                                      0  $45     
        104        CONCAT                                           ~46     $45, 'includes%2Ftheme-widget.php'
        105        SEND_VAL_EX                                              ~46
        106        DO_FCALL                                      0          
   55   107        INIT_FCALL_BY_NAME                                       'load_template'
        108        INIT_FCALL_BY_NAME                                       'trailingslashit'
        109        INIT_FCALL_BY_NAME                                       'get_template_directory'
        110        DO_FCALL                                      0  $48     
        111        SEND_VAR_NO_REF_EX                                       $48
        112        DO_FCALL                                      0  $49     
        113        CONCAT                                           ~50     $49, 'includes%2Fgoogle-fonts.php'
        114        SEND_VAL_EX                                              ~50
        115        DO_FCALL                                      0          
   61   116        INIT_FCALL_BY_NAME                                       'load_template'
        117        INIT_FCALL_BY_NAME                                       'trailingslashit'
        118        INIT_FCALL_BY_NAME                                       'get_template_directory'
        119        DO_FCALL                                      0  $52     
        120        SEND_VAR_NO_REF_EX                                       $52
        121        DO_FCALL                                      0  $53     
        122        CONCAT                                           ~54     $53, 'includes%2Fshortcodes.php'
        123        SEND_VAL_EX                                              ~54
        124        DO_FCALL                                      0          
   67   125        INIT_FCALL_BY_NAME                                       'load_template'
        126        INIT_FCALL_BY_NAME                                       'trailingslashit'
        127        INIT_FCALL_BY_NAME                                       'get_template_directory'
        128        DO_FCALL                                      0  $56     
        129        SEND_VAR_NO_REF_EX                                       $56
        130        DO_FCALL                                      0  $57     
        131        CONCAT                                           ~58     $57, 'includes%2Fgallery%2Ffeatured-galleries.php'
        132        SEND_VAL_EX                                              ~58
        133        DO_FCALL                                      0          
   74   134        INIT_FCALL                                               'class_exists'
        135        SEND_VAL                                                 'WooCommerce'
        136        DO_ICALL                                         $60     
        137      > JMPZ                                                     $60, ->142
   75   138    >   INIT_FCALL_BY_NAME                                       'get_template_directory'
        139        DO_FCALL                                      0  $61     
        140        CONCAT                                           ~62     $61, '%2Fwoocommerce%2Fconfig.php'
        141        INCLUDE_OR_EVAL                                          ~62, REQUIRE_ONCE
   81   142    >   INIT_FCALL_BY_NAME                                       'load_template'
        143        INIT_FCALL_BY_NAME                                       'trailingslashit'
        144        INIT_FCALL_BY_NAME                                       'get_template_directory'
        145        DO_FCALL                                      0  $64     
        146        SEND_VAR_NO_REF_EX                                       $64
        147        DO_FCALL                                      0  $65     
        148        CONCAT                                           ~66     $65, 'includes%2Fclass-tgm-plugin-activation.php'
        149        SEND_VAL_EX                                              ~66
        150        DO_FCALL                                      0          
   84   151        INIT_FCALL_BY_NAME                                       'add_action'
        152        SEND_VAL_EX                                              'tgmpa_register'
        153        SEND_VAL_EX                                              'onetone_theme_register_required_plugins'
        154        DO_FCALL                                      0          
  167   155      > RETURN                                                   1

Function onetone_theme_register_required_plugins:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XA17k
function name:  onetone_theme_register_required_plugins
number of ops:  136
compiled vars:  !0 = $plugins, !1 = $config
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  106     0  E >   INIT_ARRAY                                       ~2      'Revolution+Slider', 'name'
  107     1        ADD_ARRAY_ELEMENT                                ~2      'revslider', 'slug'
  108     2        INIT_FCALL_BY_NAME                                       'get_template_directory'
          3        DO_FCALL                                      0  $3      
          4        CONCAT                                           ~4      $3, '%2Fplugins%2Frevslider.zip'
          5        ADD_ARRAY_ELEMENT                                ~2      ~4, 'source'
  106     6        ADD_ARRAY_ELEMENT                                ~2      <false>, 'required'
  110     7        ADD_ARRAY_ELEMENT                                ~2      '4.6.0', 'version'
  106     8        ADD_ARRAY_ELEMENT                                ~2      <false>, 'force_activation'
          9        ADD_ARRAY_ELEMENT                                ~2      <false>, 'force_deactivation'
  113    10        ADD_ARRAY_ELEMENT                                ~2      '', 'external_url'
         11        INIT_ARRAY                                       ~5      ~2
  116    12        INIT_ARRAY                                       ~6      'LayerSlider+WP', 'name'
  117    13        ADD_ARRAY_ELEMENT                                ~6      'LayerSlider', 'slug'
  118    14        INIT_FCALL_BY_NAME                                       'get_template_directory'
         15        DO_FCALL                                      0  $7      
         16        CONCAT                                           ~8      $7, '%2Fplugins%2FLayerSlider.zip'
         17        ADD_ARRAY_ELEMENT                                ~6      ~8, 'source'
  106    18        ADD_ARRAY_ELEMENT                                ~6      <false>, 'required'
  120    19        ADD_ARRAY_ELEMENT                                ~6      '5.1.1', 'version'
  106    20        ADD_ARRAY_ELEMENT                                ~6      <false>, 'force_activation'
         21        ADD_ARRAY_ELEMENT                                ~6      <false>, 'force_deactivation'
  123    22        ADD_ARRAY_ELEMENT                                ~6      '', 'external_url'
         23        ADD_ARRAY_ELEMENT                                ~5      ~6
  103    24        ASSIGN                                                   !0, ~5
  135    25        INIT_ARRAY                                       ~10     'tgmpa', 'id'
  136    26        ADD_ARRAY_ELEMENT                                ~10     '', 'default_path'
  137    27        ADD_ARRAY_ELEMENT                                ~10     'tgmpa-install-plugins', 'menu'
  135    28        ADD_ARRAY_ELEMENT                                ~10     <true>, 'has_notices'
         29        ADD_ARRAY_ELEMENT                                ~10     <true>, 'dismissable'
  140    30        ADD_ARRAY_ELEMENT                                ~10     '', 'dismiss_msg'
  135    31        ADD_ARRAY_ELEMENT                                ~10     <false>, 'is_automatic'
  142    32        ADD_ARRAY_ELEMENT                                ~10     '', 'message'
  144    33        INIT_FCALL_BY_NAME                                       '__'
         34        SEND_VAL_EX                                              'Install+Required+Plugins'
         35        SEND_VAL_EX                                              'onetone'
         36        DO_FCALL                                      0  $11     
         37        INIT_ARRAY                                       ~12     $11, 'page_title'
  145    38        INIT_FCALL_BY_NAME                                       '__'
         39        SEND_VAL_EX                                              'Install+Plugins'
         40        SEND_VAL_EX                                              'onetone'
         41        DO_FCALL                                      0  $13     
         42        ADD_ARRAY_ELEMENT                                ~12     $13, 'menu_title'
  146    43        INIT_FCALL_BY_NAME                                       '__'
         44        SEND_VAL_EX                                              'Installing+Plugin%3A+%25s'
         45        SEND_VAL_EX                                              'onetone'
         46        DO_FCALL                                      0  $14     
         47        ADD_ARRAY_ELEMENT                                ~12     $14, 'installing'
  147    48        INIT_FCALL_BY_NAME                                       '__'
         49        SEND_VAL_EX                                              'Something+went+wrong+with+the+plugin+API.'
         50        SEND_VAL_EX                                              'onetone'
         51        DO_FCALL                                      0  $15     
         52        ADD_ARRAY_ELEMENT                                ~12     $15, 'oops'
  148    53        INIT_FCALL_BY_NAME                                       '_n_noop'
         54        SEND_VAL_EX                                              'This+theme+requires+the+following+plugin%3A+%251%24s.'
         55        SEND_VAL_EX                                              'This+theme+requires+the+following+plugins%3A+%251%24s.'
         56        SEND_VAL_EX                                              'onetone'
         57        DO_FCALL                                      0  $16     
         58        ADD_ARRAY_ELEMENT                                ~12     $16, 'notice_can_install_required'
  149    59        INIT_FCALL_BY_NAME                                       '_n_noop'
         60        SEND_VAL_EX                                              'This+theme+recommends+the+following+plugin%3A+%251%24s.'
         61        SEND_VAL_EX                                              'This+theme+recommends+the+following+plugins%3A+%251%24s.'
         62        SEND_VAL_EX                                              'onetone'
         63        DO_FCALL                                      0  $17     
         64        ADD_ARRAY_ELEMENT                                ~12     $17, 'notice_can_install_recommended'
  150    65        INIT_FCALL_BY_NAME                                       '_n_noop'
         66        SEND_VAL_EX                                              'Sorry%2C+but+you+do+not+have+the+correct+permissions+to+install+the+%25s+plugin.+Contact+the+administrator+of+this+site+for+help+on+getting+the+plugin+installed.'
         67        SEND_VAL_EX                                              'Sorry%2C+but+you+do+not+have+the+correct+permissions+to+install+the+%25s+plugins.+Contact+the+administrator+of+this+site+for+help+on+getting+the+plugins+installed.'
         68        SEND_VAL_EX                                              'onetone'
         69        DO_FCALL                                      0  $18     
         70        ADD_ARRAY_ELEMENT                                ~12     $18, 'notice_cannot_install'
  151    71        INIT_FCALL_BY_NAME                                       '_n_noop'
         72        SEND_VAL_EX                                              'The+following+required+plugin+is+currently+inactive%3A+%251%24s.'
         73        SEND_VAL_EX                                              'The+following+required+plugins+are+currently+inactive%3A+%251%24s.'
         74        SEND_VAL_EX                                              'onetone'
         75        DO_FCALL                                      0  $19     
         76        ADD_ARRAY_ELEMENT                                ~12     $19, 'notice_can_activate_required'
  152    77        INIT_FCALL_BY_NAME                                       '_n_noop'
         78        SEND_VAL_EX                                              'The+following+recommended+plugin+is+currently+inactive%3A+%251%24s.'
         79        SEND_VAL_EX                                              'The+following+recommended+plugins+are+currently+inactive%3A+%251%24s.'
         80        SEND_VAL_EX                                              'onetone'
         81        DO_FCALL                                      0  $20     
         82        ADD_ARRAY_ELEMENT                                ~12     $20, 'notice_can_activate_recommended'
  153    83        INIT_FCALL_BY_NAME                                       '_n_noop'
         84        SEND_VAL_EX                                              'Sorry%2C+but+you+do+not+have+the+correct+permissions+to+activate+the+%25s+plugin.+Contact+the+administrator+of+this+site+for+help+on+getting+the+plugin+activated.'
         85        SEND_VAL_EX                                              'Sorry%2C+but+you+do+not+have+the+correct+permissions+to+activate+the+%25s+plugins.+Contact+the+administrator+of+this+site+for+help+on+getting+the+plugins+activated.'
         86        SEND_VAL_EX                                              'onetone'
         87        DO_FCALL                                      0  $21     
         88        ADD_ARRAY_ELEMENT                                ~12     $21, 'notice_cannot_activate'
  154    89        INIT_FCALL_BY_NAME                                       '_n_noop'
         90        SEND_VAL_EX                                              'The+following+plugin+needs+to+be+updated+to+its+latest+version+to+ensure+maximum+compatibility+with+this+theme%3A+%251%24s.'
         91        SEND_VAL_EX                                              'The+following+plugins+need+to+be+updated+to+their+latest+version+to+ensure+maximum+compatibility+with+this+theme%3A+%251%24s.'
         92        SEND_VAL_EX                                              'onetone'
         93        DO_FCALL                                      0  $22     
         94        ADD_ARRAY_ELEMENT                                ~12     $22, 'notice_ask_to_update'
  155    95        INIT_FCALL_BY_NAME                                       '_n_noop'
         96        SEND_VAL_EX                                              'Sorry%2C+but+you+do+not+have+the+correct+permissions+to+update+the+%25s+plugin.+Contact+the+administrator+of+this+site+for+help+on+getting+the+plugin+updated.'
         97        SEND_VAL_EX                                              'Sorry%2C+but+you+do+not+have+the+correct+permissions+to+update+the+%25s+plugins.+Contact+the+administrator+of+this+site+for+help+on+getting+the+plugins+updated.'
         98        SEND_VAL_EX                                              'onetone'
         99        DO_FCALL                                      0  $23     
        100        ADD_ARRAY_ELEMENT                                ~12     $23, 'notice_cannot_update'
  156   101        INIT_FCALL_BY_NAME                                       '_n_noop'
        102        SEND_VAL_EX                                              'Begin+installing+plugin'
        103        SEND_VAL_EX                                              'Begin+installing+plugins'
        104        SEND_VAL_EX                                              'onetone'
        105        DO_FCALL                                      0  $24     
        106        ADD_ARRAY_ELEMENT                                ~12     $24, 'install_link'
  157   107        INIT_FCALL_BY_NAME                                       '_n_noop'
        108        SEND_VAL_EX                                              'Begin+activating+plugin'
        109        SEND_VAL_EX                                              'Begin+activating+plugins'
        110        SEND_VAL_EX                                              'onetone'
        111        DO_FCALL                                      0  $25     
        112        ADD_ARRAY_ELEMENT                                ~12     $25, 'activate_link'
  158   113        INIT_FCALL_BY_NAME                                       '__'
        114        SEND_VAL_EX                                              'Return+to+Required+Plugins+Installer'
        115        SEND_VAL_EX                                              'onetone'
        116        DO_FCALL                                      0  $26     
        117        ADD_ARRAY_ELEMENT                                ~12     $26, 'return'
  159   118        INIT_FCALL_BY_NAME                                       '__'
        119        SEND_VAL_EX                                              'Plugin+activated+successfully.'
        120        SEND_VAL_EX                                              'onetone'
        121        DO_FCALL                                      0  $27     
        122        ADD_ARRAY_ELEMENT                                ~12     $27, 'plugin_activated'
  160   123        INIT_FCALL_BY_NAME                                       '__'
        124        SEND_VAL_EX                                              'All+plugins+installed+and+activated+successfully.+%25s'
        125        SEND_VAL_EX                                              'onetone'
        126        DO_FCALL                                      0  $28     
        127        ADD_ARRAY_ELEMENT                                ~12     $28, 'complete'
  161   128        ADD_ARRAY_ELEMENT                                ~12     'updated', 'nag_type'
        129        ADD_ARRAY_ELEMENT                                ~10     ~12, 'strings'
  134   130        ASSIGN                                                   !1, ~10
  165   131        INIT_FCALL_BY_NAME                                       'tgmpa'
        132        SEND_VAR_EX                                              !0
        133        SEND_VAR_EX                                              !1
        134        DO_FCALL                                      0          
  167   135      > RETURN                                                   null

End of function onetone_theme_register_required_plugins

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
183.26 ms | 1424 KiB | 19 Q