Squiz.PHP.DiscouragedFunctions.Discouraged

Discouraged PHP function

The plugin uses a PHP or WordPress pattern that coding standards discourage.

medium weight

Why It Shows Up

Plugin Check found a discouraged function, forbidden function, goto, backtick operator, or similar construct.

Why It Matters

Discouraged patterns are often harder to review, less portable across hosts, or easier to misuse securely.

How to Fix

  • Identify why the construct is used and whether WordPress provides a safer API.
  • Replace shell execution, dynamic execution, or broad forbidden functions with constrained WordPress APIs.
  • If a third-party library triggers the warning, isolate and document it.

Affected Plugins

RankPluginScoreErrorsWarningsInstallsAddedUpdatedTop Issue
#951Appointment Bookings for Zoom GoogleMeet and more – Wappointment8122521k+Non-prefixed class
#952Bulk Post Importer84138900Missing nonce verification
#953Nav Menu Roles8431870k+Non-prefixed hook name
#954Helpful – Article Feedback Plugin86817600Database parameter is not escaped
#955FormsCRM – Connect Forms to CRM directly86581k+Missing direct file access protection
#956lazysizes86123600wp function not compatible with requires wp
#957Trusted Shops Easy Integration for WooCommerce865676k+Non-prefixed hook name
#958Autolinks Manager – SEO Auto Linker877161k+Database parameter is not escaped
#959Content Control – The Ultimate Content Restriction Plugin! Restrict Content, Create Conditional Blocks & More882011640k+Non-prefixed hook name
#960Transferito: WP Migration8816115500Non-prefixed global variable
#961Slider by Soliloquy – Responsive Image Slider for WordPress904702930k+Text Domain Mismatch
#962Blockenberg — 600+ Advanced Gutenberg Blocks for WordPress Block Editor9146600block api version too low
#963Loop Post Navigation Links9175600Missing Arg Domain
#964Themebeez Toolkit9126788k+Non-prefixed class
#965WebAuthn Provider for Two Factor916141k+Missing Arg Domain
#966Envira Gallery – Image Photo Gallery, Albums, Video Gallery, Slideshows & More921765100k+Non-prefixed global variable
#967Hoot Import921101k+Direct Query
#968Single Category Permalink93512400Non-prefixed global variable
#969Themx Maximum Upload File Size | Increase Maximum Upload File Size9317141k+Text Domain Mismatch
#970Easy Theme and Plugin Upgrades94292070k+Discouraged PHP function
#971Gravity Forms IBAN94721500Non-prefixed function
#972Gravity Forms Zero Spam9449100k+trademarked term
#973Media from ZIP94516600Non-prefixed global variable
#974Bulk Media Register958358k+Non-prefixed hook name
#975WING Website Migrator9524400Discouraged PHP function
#976Better Block Editor (BBE)962515k+Non-prefixed global variable
#977Catch Themes Demo Import96155k+Non-prefixed hook name
#978PWA9634320k+Missing direct file access protection
#979Acme Fix Images – Regenerate Thumbnails97553k+Missing direct file access protection
#980DocsPress – Online Documentation97163400wp function not compatible with requires wp
#981Remove Meta Generators97551k+wp function not compatible with requires wp
#982Schema Engine AI – AI Schema Markup, Reviews & Rich Snippets for SEO9756110k+wp function not compatible with requires wp
#983Spiraclethemes Site Library97281k+Non-prefixed global variable
#984ZIP from Media97416400Non-prefixed global variable
#985Angie – Agentic AI (Beta)981780k+Discouraged PHP function
#986BetterDocs – AI Documentation, Knowledge Base, Docs, Wikis, FAQ with Chatbot982830k+Direct Query
#987Export/Import Media – CSV Media Library Import & Export98741k+Missing Translators Comment
#988Copy Move Posts987400Non-prefixed global variable
#989Inline Image Upload for BBPress98313k+Missing direct file access protection
#990Plus WebP or AVIF98245k+Non-prefixed global variable
#991WP Document Revisions98772k+wp function not compatible with requires wp
#992XO Featured Image Tools984330k+wp function not compatible with requires wp
#993Media Library Tools – AI-Powered Rename, Clean & CSV Import/Export99141k+Discouraged PHP function
#994WP Debugging991510k+trademarked term