o Prefix everything
o Check for Existing Implementations
o Variables: isset() (includes arrays, objects, etc.)
o Functions: function_exists()
o Classes: class_exists()
o Constants: defined()
Slide 45
Slide 45 text
Conditional Loading
Slide 46
Slide 46 text
Plugin Architecture
Slide 47
Slide 47 text
Boilerplate Starting Points
Slide 48
Slide 48 text
Components
Of Plugin
Development
Slide 49
Slide 49 text
SECURITY
Slide 50
Slide 50 text
Checking User Capabilities
Slide 51
Slide 51 text
Data Validation
Slide 52
Slide 52 text
Securing Input & Output
Slide 53
Slide 53 text
Nonces
Slide 54
Slide 54 text
HOOKS
Slide 55
Slide 55 text
What are hooks ?
Slide 56
Slide 56 text
Types Of Hooks
Slide 57
Slide 57 text
Action
Filter
Slide 58
Slide 58 text
Custom Hooks
Slide 59
Slide 59 text
Why Custom Hooks?
Slide 60
Slide 60 text
ADMIN MENU
Slide 61
Slide 61 text
Top Level Menu
Slide 62
Slide 62 text
Sub Menu
Slide 63
Slide 63 text
SHORTCODES
Slide 64
Slide 64 text
Why Shortcodes?
Slide 65
Slide 65 text
Default Shortcodes
Slide 66
Slide 66 text
[caption] – shortcode that allows you to wrap captions around content
[gallery] – shortcode that allows you to show image galleries
[audio] – shortcode that allows you to embed and play audio files
[video] – shortcode that allows you to embed and play video files
[playlist] – shortcode that allows you to display collection of audio or video files
[embed] – shortcode that allows you to wrap embedded items
Slide 67
Slide 67 text
Basic Shortcodes
[wporg] is your new shortcode. The use of the shortcode will trigger the wporg_shortcode callback function.
Slide 68
Slide 68 text
Enclosing Shortcodes
[wporg]content to manipulate[/wporg]
Slide 69
Slide 69 text
Shortcodes With Parameters
[wporg title="WordPress.org"]content to manipulate[/wporg]