add_filter( ‘aioseo_local_business_taxonomy_name’, ‘aioseo_change_local_business_taxonomy_name’ ); function aioseo_change_local_business_taxonomy_name( $name ) { $name = ‘franchise-state’; return $name; }Continue reading
add_filter( ‘aioseo_local_business_post_type_single_label’, ‘aioseo_change_local_business_post_type_single_label’ ); function aioseo_change_local_business_post_type_single_label( $label ) { $label = ‘Franchise’; return $label; }Continue reading
add_filter( ‘aioseo_local_business_post_type_plural_label’, ‘aioseo_change_local_business_post_type_plural_label’ ); function aioseo_change_local_business_post_type_plural_label( $label ) { $label = ‘Franchises’; return $label; }Continue reading
add_filter( ‘aioseo_import_yoast_seo_posts_per_action’, ‘aioseo_increase_yoast_posts_import’); function aioseo_increase_yoast_posts_import( $number ) { return 250; }Continue reading
add_filter( ‘aioseo_import_seopress_posts_per_action’, ‘aioseo_increase_seopress_posts_import’); function aioseo_increase_seopress_posts_import( $number ) { return 250; }Continue reading
add_filter( ‘aioseo_import_rank_math_posts_per_action’, ‘aioseo_increase_rank_math_posts_import’); function aioseo_increase_rank_math_posts_import( $number ) { return 250; }Continue reading
add_filter( ‘aioseo_disable_link_format’, ‘__return_true’ );Continue reading
add_filter(‘gform_notification_enable_cc’, ‘enable_cc’, 10, 3 ); function enable_cc( $enable, $notification, $form ){ return true; }Continue reading
// Remove plugin deactivation for all users except ‘rubberduckers’ function rubberduckers_disable_plugin_deactivation($actions, $plugin_file, $plugin_data, $context) { // Get the current user $current_user = wp_get_current_user(); // Check if the current user’s username is NOT ‘rubberduckers’ if ($current_user->user_login !== ‘rubberduckers’) { // List…Continue reading
// Show featured image in post list /* * * Add Featured Image Column to Admin Area and Quick Edit menu * Source: https://rudrastyh.com/wordpress/quick-edit-featured-image.html * */ /* * This action hook allows to add a new empty column */ add_filter(‘manage_resource_posts_columns’,…Continue reading