Les pensées s’enfuient.
Que faire quand tant de choses t’échappent ?
À chaque clin d’œil, le monde s’efface,
Et se refait, sans reconnaître sa propre image.
Une illusion, des idéaux d’un autre temps. Faut-il faire face ?
Ou continuer droit vers un mirage, qui, comme ces pensées, s’enfuit…
Understanding WordPress Filters & Hooks for Drupal Developers As a Drupal developer, you’re likely familiar with Drupal’s hook system, which allows modules to interact with and alter the core functionality of Drupal without modifying the core files directly. WordPress offers a similar feature known as Hooks, which are divided into two categories: Actions and Filters. Let’s dive into what they are, how they compare to Drupal’s hooks, and how to use them effectively.
Imagine you want to render our text in your form. In the past, I would pass in the #markup index in my render array with some HTML as value. For example
1 2 3 4 5 6 $output['my_button'] = [ '#markup' => '<div> <button id="generate-images">Generate Images</button></div>', '#allowed_tags' => ['div', 'button'], ]; This works for the most part. Especially when all you need is to render out a straightforward markup.
So, I went to a meditation retreat in late November – 1-hour daily meditation twice a day, noble silence in the mornings, and no phone or electronics for a whole week. Well, it was more like 4.5 days, but you get the idea. I had minimal expectations and an open mind coming into this. I expected it to be challenging, especially not having my phone.
Some of the things I learned that week:
I remember celebrating my 18’s birthday in Pretoria, South Africa. I moved there a few months earlier, and I had a pretty small social circle. I was not planning to do anything really, then a family friend called, and we went out that night, and I still remember that day with a lot of fondness. The next day, my friend called me and asked me: “so, how does it feel?” I replied, what?
A reflection on new years resolutions This year has been one of the most exciting years of my life. For the first time in my adult life, I didn’t set up unrealistic new years resolutions. Instead, it was easy for me to look at the things my wife and I had pretty much planned for the year ahead. Then, everything personally and professionally was evaluated based on how close it got us to achieving the plan.