wordpress/wp-content/plugins/cms-tree-page-view/functions.php
/**
 * Install function
 * Called from hook register_activation_hook()
 */
Install function
Called from hook register_activation_hook()
Install function Called from hook register_activation_hook ()
function cms_tpv_install() {
	update_option('cms_tpv_show_annoying_little_box', 1);
	update_option('cms_tpv_show_promo', 1);
	cms_tpv_setup_defaults();
	update_option('cms_tpv_version', CMS_TPV_VERSION);
}
function cms_tpv_install ( ) { update_option ( 'cms_tpv_show_annoying_little_box' , 1 ) ; update_option ( 'cms_tpv_show_promo' , 1 ) ; cms_tpv_setup_defaults ( ) ; update_option ( 'cms_tpv_version' , CMS_TPV_VERSION ) ; }
Install function
 Called from hook register_activation_hook()
Install function Called from hook register_activation_hook ()
// after upgrading/re-enabling the plugin, also re-enable the little please-donate-box // first install or pre custom posts version: // make sure pages are enabled by default // set to current version