Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
WordPress: The good parts
Anton Timmermans
May 12, 2015
Technology
0
100
WordPress: The good parts
Presentation to the PHP community about some awesome parts about WordPress core (yes they do exist).
Anton Timmermans
May 12, 2015
Tweet
Share
More Decks by Anton Timmermans
See All by Anton Timmermans
JavaScript vertalen binnen een plugin
atimmer
0
61
Developing for WordPress with PHP
atimmer
0
41
WordPress en het belang van Accessibility
atimmer
0
69
WordPress en het belang van Accessibility
atimmer
0
33
Other Decks in Technology
See All in Technology
CloudWatchアラームによるサービス継続のための監視入門 / Introduction to Monitoring for Service Continuity with CloudWatch Alarms
inomasosan
1
390
Backlogをサポート窓口として活用する/JBUG_Summer_2022
mito201
0
370
フィンテック養成勉強会#24
finengine
0
310
AWS CLI のエイリアス機能はいいぞ /jawsug-bgnr-48-lt
michimani
1
260
Djangoで組織とユーザーの権限管理をやってみよう #devio2022
seiichi1101
0
350
年90回以上のアップデートを実現する、Backlogを使ったスクラム開発
yoshiteruiwasaki
0
370
ログラスを支える技術的投資の仕組み / loglass-technical-investment
urmot
7
1.7k
Istioを活用したセキュアなマイクロサービスの実現/Secure Microservices with Istio
ido_kara_deru
3
330
What for, Where and How to Adopt MIDI 2.0
atsushieno
0
150
Autonomous Database Cloud 技術詳細 / adb-s_technical_detail_jp
oracle4engineer
PRO
10
19k
EC/CRMの自社サービス開発をマネジメントするようになって1年でやってきたこととこれから / devio2022-takano-sho-road-to-good-development-team-management
masaru_b_cl
0
360
私のAWS愛を聞け! ~ここが好きだよStep Functions~ #devio2022
kongmingstrap
0
270
Featured
See All Featured
The Invisible Side of Design
smashingmag
290
48k
Six Lessons from altMBA
skipperchong
14
1.4k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
39
13k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
212
20k
The Power of CSS Pseudo Elements
geoffreycrofte
47
4k
ParisWeb 2013: Learning to Love: Crash Course in Emotional UX Design
dotmariusz
100
5.9k
Statistics for Hackers
jakevdp
782
210k
What’s in a name? Adding method to the madness
productmarketing
11
1.6k
Building Your Own Lightsaber
phodgson
95
4.7k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
12
940
Building an army of robots
kneath
299
40k
Adopting Sorbet at Scale
ufuk
63
7.6k
Transcript
WordPress The good parts
Who am I? • Anton Timmermans • Full time WordPress
Developer • Core Contributor & developer.wordpress.org • @atimmer10
The WordPress way
The hook system
Hook system add_filter( 'some_filter', 'callable_to_execute' ); apply_filters( 'some_filter', 'value_to_change' );
add_action( 'some_action', 'callable_to_execute' ); do_action( 'some_action' );
The loop <?php while ( have_posts() ) : the_post(); ?>
<article <?php post_class(); ?>> <h2><?php the_title(); ?></h2> <?php the_content(); ?> </article> <?php endwhile; ?>
Content aware functions • wpautop • wptexturize "holiday" ->
“holiday”
Smart elegance • DAY_IN_SECONDS, YEAR_IN_SECONDS • __return_false, __return_zero, __return_empty_array
Backwards compatibility • Write with confidence • Follow the WordPress
way! • It’s a feature
Test suite
Even more…
Discussion / Q&A