Commit 3d0b89f1 authored by O'Reilly Media, Inc.'s avatar O'Reilly Media, Inc.
Browse files

Initial commit

parents
Loading
Loading
Loading
Loading
+7 −0
Changes for Creating Plugins to Extend WordPress - Working Files/Chapter 1/No Work Files.rtf: 7 added lines, 0 removed lines.
Original line number Diff line number Diff line
{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf350
{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
{\colortbl;\red255\green255\blue255;}
\margl1440\margr1440\vieww9000\viewh8400\viewkind0
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural

\f0\fs24 \cf0 No work files for this lesson...}
 No newline at end of file
+4 −0
Changes for Creating Plugins to Extend WordPress - Working Files/Chapter 2/xdebug-snippet.ini: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
xdebug.default_enable=1
xdebug.remote_enable=1
xdebug.remote_autostart=1
;xdebug.idekey="PHPSTORM"
 No newline at end of file
+7 −0
Changes for Creating Plugins to Extend WordPress - Working Files/Chapter 3/No Work Files.rtf: 7 added lines, 0 removed lines.
Original line number Diff line number Diff line
{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf350
{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
{\colortbl;\red255\green255\blue255;}
\margl1440\margr1440\vieww9000\viewh8400\viewkind0
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural

\f0\fs24 \cf0 No work files for this lesson...}
 No newline at end of file
+7 −0
Changes for Creating Plugins to Extend WordPress - Working Files/Chapter 4/my-example-plugin.css: 7 added lines, 0 removed lines.
Original line number Diff line number Diff line
#welcome-panel {
    background-image: url(seal.png);
    min-height: 10em;
    background-size: 200px;
    background-repeat: no-repeat;
    background-position: -78px -87px;
}
 No newline at end of file
+16 −0
Changes for Creating Plugins to Extend WordPress - Working Files/Chapter 4/plugin-class-bootstrap.php: 16 added lines, 0 removed lines.
Original line number Diff line number Diff line
<?php
class Plugin_Class {

  public static function bootstrap() {
    $plug = new self();

    // implement hooks here, e.g.
    // add_action( 'hook_name', array( $plug, 'methodName' ) );
  }

  private function __construct() {
    // do any other work to prepare the object here
  }
}

Plugin_Class::bootstrap();
Loading