Changes to blocks and added basic framework for Newsletters

This commit is contained in:
Jeremy Rangel
2025-01-02 01:29:51 -08:00
parent d928a0e8fd
commit 7bba517b48
20 changed files with 417 additions and 149 deletions

View File

@ -0,0 +1,15 @@
<?php
// Register the function to run when the theme is switched (deactivated)
add_action('switch_theme', 'drop_lcp_icons_table');
// Hook into theme activation to call the function
function lcp_activate() {
// Call the function to import the default icon sets
lcp_install_icon_set(true);
}
// Add the action hook to run the function when the theme is activated
add_action('after_switch_theme', 'lcp_activate');