Files
Testing/tbb/wp-content/plugins/so-css/inc/legacy.php
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -05:00

10 lines
378 B
PHP

<?php
/**
* Remove the menu item for the CSS editor that comes bundled with SiteOrigin themes
*/
function siteorigin_css_legacy_remove_legacy_actions(){
remove_action( 'admin_menu', 'siteorigin_custom_css_admin_menu' );
remove_action( 'wp_head', 'siteorigin_custom_css_display', 15 );
}
add_action( 'after_setup_theme', 'siteorigin_css_legacy_remove_legacy_actions', 100 );