Читать книгу Professional WordPress Plugin Development - Brad Williams - Страница 2
Table of Contents
Оглавление1 COVER
2 FOREWORD
3 INTRODUCTION WHO THIS BOOK IS FOR WHAT YOU NEED TO USE THIS BOOK WHAT THIS BOOK COVERS HOW THIS BOOK IS STRUCTURED CONVENTIONS SOURCE CODE ERRATA
4 1 An Introduction to Plugins WHAT IS A PLUGIN? AVAILABLE PLUGINS ADVANTAGES OF PLUGINS INSTALLING AND MANAGING PLUGINS SUMMARY
5 2 Plugin Framework REQUIREMENTS FOR PLUGINS BEST PRACTICES PLUGIN HEADER DETERMINING PATHS ACTIVATE/DEACTIVATE FUNCTIONS UNINSTALL METHODS CODING STANDARDS SUMMARY
6 3 Dashboard and Settings ADDING MENUS AND SUBMENUS PLUGIN SETTINGS THE OPTIONS API THE SETTINGS API KEEPING IT CONSISTENT SUMMARY
7 4 Security and Performance SECURITY OVERVIEW USER PERMISSIONS NONCES DATA VALIDATION AND SANITIZATION FORMATTING SQL STATEMENTS SECURITY GOOD HABITS PERFORMANCE OVERVIEW CACHING TRANSIENTS SUMMARY
8 5 Hooks UNDERSTANDING HOOKS ACTIONS FILTERS USING HOOKS FROM WITHIN A CLASS USING HOOKS WITH ANONYMOUS FUNCTIONS CREATING CUSTOM HOOKS FINDING HOOKS SUMMARY
9 6 JavaScript REGISTERING SCRIPTS ENQUEUEING SCRIPTS LIMITING SCOPE LOCALIZING SCRIPTS INLINE SCRIPTS OVERVIEW OF BUNDLED SCRIPTS POLYFILLS YOUR CUSTOM SCRIPTS jQuery BACKBONE/UNDERSCORE REACT SUMMARY
10 7 Blocks and Gutenberg WHAT IS GUTENBERG? TOURING GUTENBERG PRACTICAL EXAMPLES TECHNOLOGY STACK OF GUTENBERG “HELLO WORLD!” BLOCK WP‐CLI SCAFFOLDING CREATE‐GUTEN‐BLOCK TOOLKIT BLOCK DIRECTORY SUMMARY
11 8 Content CREATING CUSTOM POST TYPES POST METADATA META BOXES CREATING CUSTOM TAXONOMIES USING CUSTOM TAXONOMIES A POST TYPE, POST METADATA, AND TAXONOMY PLUGIN SUMMARY
12 9 Users and User Data WORKING WITH USERS ROLES AND CAPABILITIES LIMITING ACCESS CUSTOMIZING ROLES SUMMARY
13 10 Scheduled Tasks WHAT IS CRON? SCHEDULING CRON EVENTS TRUE CRON PRACTICAL USE SUMMARY
14 11 Internationalization INTERNATIONALIZATION AND LOCALIZATION CREATING TRANSLATION FILES SUMMARY
15 12 REST API WHAT THE REST API IS WHAT YOU CAN DO WITH THE REST API ACCESSING THE WORDPRESS REST API THE HTTP API WORDPRESS’ HTTP FUNCTIONS BRINGING IT ALL TOGETHER SUMMARY
16 13 Multisite TERMINOLOGY ADVANTAGES OF MULTISITE ENABLING MULTISITE IN WORDPRESS MULTISITE FUNCTIONS DATABASE SCHEMA QUERY CLASSES OBJECT CLASSES SUMMARY
17 14 The Kitchen Sink QUERYING AND DISPLAYING POSTS SHORTCODES WIDGETS DASHBOARD WIDGETS REWRITE RULES THE HEARTBEAT API SUMMARY
18 15 Debugging COMPATIBILITY DEBUGGING ERROR LOGGING QUERY MONITOR SUMMARY
19 16 The Developer Toolbox CORE AS REFERENCE PLUGIN DEVELOPER HANDBOOK CODEX TOOL WEBSITES COMMUNITY RESOURCES TOOLS SUMMARY
20 INDEX