Why not try simply:
$SiteOriginOptions="a:14:{s:10:"post-types";a:2:{i:0;s:4:"page";i:1;s:4:"post";}s:10:"title-html";s:39:"<h3 class="widget-title">{{title}}</h3>";s:16:"add-widget-class";b:1;s:15:"bundled-widgets";b:0;s:19:"recommended-widgets";b:1;s:10:"responsive";b:1;s:13:"tablet-layout";b:1;s:12:"tablet-width";i:991;s:12:"mobile-width";i:480;s:13:"margin-bottom";i:30;s:22:"margin-bottom-last-row";b:0;s:12:"margin-sides";i:30;s:20:"full-width-container";s:4:"body";s:12:"copy-content";b:1;}";
update_option('siteorigin_panels_settings', $SiteOriginOption);
Also, you may want to set a flag to say the options have been initiated so the user can change them later and not have them overridden whenever they activate a plugin.
Related Posts:
- Tips for using WordPress as a CMS? [closed]
- What Are Security Best Practices for WordPress Plugins and Themes? [closed]
- What are the package and subpackage comment for?
- Experiences with adding Nonces to the comment form
- How to get the active theme’s slug?
- How to add plugins to wordpress theme?
- Disable author pages for specific users
- Set active theme via URL
- How do I make my wordpress page more friendly for mobile viewers?
- Check javascript file Proper way in functions.php
- Migrating a File from Plugin to Theme and changing its path → instead create a REST endpoint
- dequeue not work
- Recommendations for books/resource to get started with wordpress 3 development (plugins/themes) [closed]
- Uncaught Error: Call to undefined function get_user_by() after moving function from theme to plugin
- Translating plugin inside the theme [closed]
- How to Implement “Notice: This theme recommands the following plugin:xyz” in wordpress? [closed]
- Include Max mega menu Plugin into theme
- Change settings of get_post_type_object
- Sage WordPress – Plugin Namespace: Not Found
- How to remove all javascript in a theme wordpress?
- Unable to install theme recommended plugins on Multisite
- More than one text-domain is being used because of the included templates for plugins
- How to prevent users to download videos from lms website?
- Different UI in WordPress
- plugin style conflicts, how to override? [closed]
- Hooking in to replace the Sidebar/Widget areas
- There is any way to remove post-format filter? [closed]
- Child Pages Short Code plug-in and hover capabilities?
- WordPress site periodically goes down
- Masonry images not working
- Why namespaces are rarely used in WordPress plugins?
- (Big issue) Blog is Getting Down Each day.. what should i do.?
- How can I position ShareThis buttons manually when using the plug-in? [closed]
- How to require users to login when not logged in
- Does WP delete deprecated plugin/theme files on plugin/theme upgrade?
- Is there any hook for theme activation ? or something similar?
- How to use get_template part in the plugin?
- How can I use get header from within my plugin?
- My single.php page does not show the related data to the post which is clicked
- Basic gallery plugin suggestion [closed]
- How to write “alt” tag in image for wordpress code?
- How to activate a plugin on the activation of a theme?
- WordPress plugin won’t show on some themes
- How to make a dynamic css class whose name changes every visit to confuse scraper
- Theme My Login Shortcode Doesn’t Return Anything
- Include Minit plugin in theme [closed]
- How do I add a plugin dependency to my customized theme?
- Moving FB comments at the end of page
- How Do I Uninstall a Current WordPress Theme and Install a Fresh Theme
- What is it and from where it is loaded?
- Inserting Plugins Into Blank Space of Externally Designed WordPress Theme
- Cannot add edit themes and add plugins after multisite update
- Load CSS files in header of Bones theme?
- How to handle a WordPress blog with articles in different languages?
- display unique post per category
- How to display a widget on a page with no theme?
- Remove updates text on plugin or themes list page
- navigation among single posts
- How to prevent plugin, theme installation failures on WordPress?
- WordPress Cache delete on plugin uninstall
- Edit all $wp_scripts at once to $in_footer = false
- Unknown theme modal source
- WordPress website will not show menu on a Mobile Device
- Ensure WordPress Theme Uninstalls Completely
- Remove a div class with condition
- How Can I Increase Breadcrumb Position Count (Starting From 2)?
- Main content of site not showing, but does show when logged in to wp-admin
- Ajax Call not Working in Plugin
- Changing the pointing of assets from old server to new server
- Hide Plugin Custom Post Type Menu Link
- Image path in childs theme
- Hooking into the HTML header container
- Set up new WordPress domain using unclear files
- Genesis Child Theme – Customize body
- Securing langugae folder
- Unable to activate themes on localhost
- How to roll back WordPress version or prevent migration from forcing update?
- Multisite converted to Single Site can’t add new plugins or new themes
- why my wordpress dont have toolbar like, plugin, themes and other?
- how to add custom css at top above all css file for specific url
- How to Call Function From Separate WordPress Install on Same Server?
- How to link file or image from wordpress plugin dir to theme by using themes function.php, is it possible?
- What Are the Advantages of Using an mu-plugin
- Things that saved lose when logout
- Automatic updates of plugins and themes outside of wordpress.org
- What is the process for reimplementing a back up WordPress?
- Notice: Use of undefined constant Redux_TEXT_DOMAIN – assumed ‘Redux_TEXT_DOMAIN’
- How to install wordpress theme’s plug-ins?
- White screen and can’t activate themes and plugins
- custom registration form [duplicate]
- Activate plugins by a theme’s functions.php?
- do_shortcodes() isn’t working
- Why does theme need woocommerce to show images / content on front page?
- My Blog page ( posts page ) theme isn’t changing with the new theme [closed]
- How to create an Info Box on WordPress [closed]
- How to make content as required in custom post type?
- Any plugin installation and update overwrite current theme
- How to add links to different language versions of WordPress
- Problem on a wordpress website with a plugin [closed]
- Add new Plugin or Delete option Not Showing and Also Theme delete option not showing