Like it? I'd appreciate the support :)
These are some basic functions and features that I use for my own WordPress websites. I don't want to redefine these functions again and again while developing custom themes, so that's what this plugin is for.
- Download the latest release
- Go to your wp-admin/plugins.php and install the plugin
- Have fun!
# Added: Menu order for posts
# Added: HTML5 theme support > removes type="text/javascript" and type=”text/css” from enqueued scripts and styles.
# Removed: info about WordPress version from <head>
# Removed: Windows Live Writer manifest from <head>
# Removed: Current page shortlink
# Removed: Emojis from everywhere
# Removed: Auto-update email notifications
prpz_tools_init
# Removed: Tinymce emoji plugin.
prpz_disable_emojis_tinymce
# Removed: Some REST API Stuff
prpz_remove_api_stuff
# Added: REST API only for logged in users
prpz_rest_authentication_errors
# Removed: REST API endpoints for listing users
prpz_rest_endpoints
# Removed: All unneeded Dashboard Widgets
prpz_wp_dashboard_setup
# Removed: Duotone Filter in Gutenberg + loading of SVGs in body tag
prpz_remove_global_styles_render_svg_filters
# Added: Custom Mime types
prpz_upload_mimes
# Removed: X-PINGBACK header
prpz_wp_headers
# Removed: All notices for non-admins
prpz_hide_notices
# Removed: WP Comment IP logging
prpz_pre_comment_user_ip
# Added: Yoast - Custom separators
prpz_wpseo_separator_options
# Fuction: Write to default or custom log file
write_log
# Function: All in one CURL request
send_request_to_url
# Function: Get current year (function and shortcode)
get_year
# Plugin-Activity checks
# Is ACF active?
acf_activated
# Is WPML active?
wpml_activated
# Is WooCommerce active?
woocommerce_activated
# Is WooCommerce Germanized active?
woocommerce_germanized_activated
# Is Divi Theme active (parent or child)?
divi_theme_activated
# Is Divi Builder plugin active?
divi_builder_activated
# Is the user currently using the Divi Builder?
is_divi_builder_activeIf you find any bugs/errors, feel free to post an issue.
That's it!
Be excellent to each other. And, Party on, dudes!