From f93bf5ab3351db69e1b81d3274854910ed39f6dd Mon Sep 17 00:00:00 2001 From: Matias Benedetto Date: Thu, 18 Apr 2024 09:20:43 -0300 Subject: [PATCH] rename main plugin file and add prefix to the function name --- index.php => modern-fonts-stacks-for-font-library.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename index.php => modern-fonts-stacks-for-font-library.php (93%) diff --git a/index.php b/modern-fonts-stacks-for-font-library.php similarity index 93% rename from index.php rename to modern-fonts-stacks-for-font-library.php index de328e9..16aecb5 100644 --- a/index.php +++ b/modern-fonts-stacks-for-font-library.php @@ -10,8 +10,8 @@ Text Domain: modern-fonts-stacks-for-font-library */ -if ( function_exists( 'wp_register_font_collection' ) ) { - function register_modern_fonts_stacks() { +if ( function_exists( 'mfsffl_wp_register_font_collection' ) ) { + function mfsffl_register_modern_fonts_stacks() { $categories = array( array( 'slug' => 'sans-serif',