Vai al contenuto principale della pagina
Autore: |
Williams Brad
![]() |
Titolo: |
Professional WordPress plugin development [[electronic resource] /] / Brad Williams, Ozh Richard, Justin Tadlock ; [foreword by Joost de Valk]
![]() |
Pubblicazione: | Indianapolis, Ind., : Wiley, c2011 |
Edizione: | 1st edition |
Descrizione fisica: | 1 online resource (554 p.) |
Disciplina: | 006.752 |
Soggetto topico: | Blogs - Computer programs |
Web sites - Authoring programs | |
Soggetto genere / forma: | Electronic books. |
Altri autori: |
RichardOzh
![]() ![]() ![]() |
Note generali: | "Wrox programmer to programmer." |
Includes index. | |
Nota di contenuto: | Professional WordPress® Plugin Development; CONTENTS; FOREWORD; INTRODUCTION; CHAPTER 1: AN INTRODUCTION TO PLUGINS; What Is a Plugin?; How Plugins Interact with WordPress; When Are Plugins Loaded?; Available Plugins; Official Plugin Directory; Popular Plugin Examples; Popular Plugin Tags; Advantages of Plugins; Not Modifying Core; Why Reinvent the Wheel; Separating Plugins and Themes; Easy Updates; Easier to Share and Reuse; Plugin Sandbox; Plugin Community; Installing and Managing Plugins; Installing a Plugin; Managing Plugins; Editing Plugins; Plugin Directories; Types of Plugins |
Testing Plugin FunctionalitySummary; CHAPTER 2: PLUGIN FOUNDATION; Creating a Plugin File; Naming Your Plugin; Using a Folder; Sanity Practices; Prefix Everything; File Organization; Folder Structure; Header Requirements; Creating the Header; Plugin License; Determining Paths; Plugin Paths; Local Paths; URL Paths; Activate/Deactivate Functions; Plugin Activation Function; Create Default Settings on Activate; Plugin Deactivation Function; Deactivate Is Not Uninstall; Uninstall Methods; Why Uninstall Is Necessary; Uninstall.php; Uninstall Hook; Coding Standards; Document Your Code | |
Naming Variables, Functions, and FilesSingle and Double Quotes; Indentation; Brace Style; Space Usage; Shorthand PHP; SQL Statements; Plugin Development Checklist; Summary; CHAPTER 3: HOOKS; Actions; What Is an Action?; Action Hook Functions; Commonly Used Action Hooks; Filters; What Is a Filter?; Filter Hook Functions; Quick Return Functions; Commonly Used Filter Hooks; Using Hooks from Within a Class; Creating Custom Hooks; Benefits of Creating Custom Hooks; Custom Action Hook Example; Custom Filter Hook Example; How to Find Hooks; Searching for Hooks in the Core Code; Variable Hooks | |
Hook Reference ListsSummary; CHAPTER 4: INTEGRATING IN WORDPRESS; Adding Menus and Submenus; Creating a Top-Level Menu; Adding a Submenu; Adding a Menu Item to an Existing Menu; Creating Widgets; Creating a Widget; Advanced Widget; Creating Dashboard Widgets; Creating a Dashboard Widget with Options; Meta Boxes; Adding a Custom Meta Box; Saving Meta Box Data; Advanced Meta Box; Keeping It Consistent; Using the WordPress UI; Headings; Icons; Messages; Buttons; Links; Form Fields; Tables; Pagination; Summary; CHAPTER 5: INTERNATIONALIZATION; Internationalization and Localization | |
Why Internationalize?Understanding Internationalization in Professional Work; Getting Your Plugin Ready for Translation; Echoing and Returning Strings; Using Placeholders; Internationalizing JavaScript; Creating Translation Files; The MO and PO Files; Translation Tools; How to Create a POT File; Where to Store Translation Files; Summary; CHAPTER 6: PLUGIN SECURITY; Securing Your Plugin; What Securing Your Plugin Is; What Securing Your Plugin Is Not; User Permissions; How to Check current_ user_ can(); Do Not Check Too Early; Nonces; Authority Versus Intention; What Is a Nonce? | |
How to Create and Verify Nonces | |
Sommario/riassunto: | A guide to customize and extend WordPress blogs through the use of plugins covers such topics as integrating widgets, adding menus, implementing security practices, and creating custom taxonomies. |
Titolo autorizzato: | Professional WordPress plugin development ![]() |
ISBN: | 1-118-07532-3 |
1-283-37466-8 | |
9786613374660 | |
1-118-07530-7 | |
Formato: | Materiale a stampa ![]() |
Livello bibliografico | Monografia |
Lingua di pubblicazione: | Inglese |
Record Nr.: | 9910464849803321 |
Lo trovi qui: | Univ. Federico II |
Opac: | Controlla la disponibilità qui |