dewp.space is one of the many independent Mastodon servers you can use to participate in the fediverse.

Administered by:

Server stats:

27
active users

#code

3 posts3 participants0 posts today
Epiphyt<p>For a custom meta box I needed to execute my code after saving a post in the block editor. This is how I’ve done it:</p><p><a href="https://epiph.yt/en/blog/2023/run-code-on-block-editor-save/" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">epiph.yt/en/blog/2023/run-code</span><span class="invisible">-on-block-editor-save/</span></a></p><p><a href="https://dewp.space/tags/WordPress" class="mention hashtag" rel="tag">#<span>WordPress</span></a> <a href="https://dewp.space/tags/BlockEditor" class="mention hashtag" rel="tag">#<span>BlockEditor</span></a> <a href="https://dewp.space/tags/Code" class="mention hashtag" rel="tag">#<span>Code</span></a> <a href="https://dewp.space/tags/saving" class="mention hashtag" rel="tag">#<span>saving</span></a> <a href="https://dewp.space/tags/post" class="mention hashtag" rel="tag">#<span>post</span></a> <a href="https://dewp.space/tags/metabox" class="mention hashtag" rel="tag">#<span>metabox</span></a> <a href="https://dewp.space/tags/development" class="mention hashtag" rel="tag">#<span>development</span></a></p>
Epiphyt<p>Für eine individuelle Metabox musste ich meinen Code ausführen, nachdem der Beitrag im Block-Editor gespeichert wurde. So habe ich es gemacht:</p><p><a href="https://epiph.yt/blog/2023/code-beim-speichern-des-block-editors-ausfuehren/" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">epiph.yt/blog/2023/code-beim-s</span><span class="invisible">peichern-des-block-editors-ausfuehren/</span></a></p><p><a href="https://dewp.space/tags/WordPress" class="mention hashtag" rel="tag">#<span>WordPress</span></a> <a href="https://dewp.space/tags/BlockEditor" class="mention hashtag" rel="tag">#<span>BlockEditor</span></a> <a href="https://dewp.space/tags/Code" class="mention hashtag" rel="tag">#<span>Code</span></a> <a href="https://dewp.space/tags/post" class="mention hashtag" rel="tag">#<span>post</span></a> <a href="https://dewp.space/tags/metabox" class="mention hashtag" rel="tag">#<span>metabox</span></a> <a href="https://dewp.space/tags/Entwicklung" class="mention hashtag" rel="tag">#<span>Entwicklung</span></a></p>
Bernhard Kau<p>Wie debuggst du deinen <a href="https://dewp.space/tags/PHP" class="mention hashtag" rel="tag">#<span>PHP</span></a> <a href="https://dewp.space/tags/Code" class="mention hashtag" rel="tag">#<span>Code</span></a>? In meinem neuesten <a href="https://dewp.space/tags/projekt26" class="mention hashtag" rel="tag">#<span>projekt26</span></a> Beitrags vergleiche ich die Vor- und Nachteile verschiedener Methoden: <a href="https://kau-boys.de/4795/webentwicklung/verschiedene-methoden-zum-debuggen-von-php-code" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">kau-boys.de/4795/webentwicklun</span><span class="invisible">g/verschiedene-methoden-zum-debuggen-von-php-code</span></a></p>
Bernhard Kau<p>How do you <a href="https://dewp.space/tags/debug" class="mention hashtag" rel="tag">#<span>debug</span></a> your <a href="https://dewp.space/tags/PHP" class="mention hashtag" rel="tag">#<span>PHP</span></a> <a href="https://dewp.space/tags/code" class="mention hashtag" rel="tag">#<span>code</span></a>? In my latest <a href="https://dewp.space/tags/project26" class="mention hashtag" rel="tag">#<span>project26</span></a> blog post I compare the pros and cons of different methods: <a href="https://kau-boys.com/3386/web-development/different-methods-to-debug-php-code" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">kau-boys.com/3386/web-developm</span><span class="invisible">ent/different-methods-to-debug-php-code</span></a></p>
Christopher Masto<p>Time for a proper <a href="https://masto.masto.com/tags/introduction" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>introduction</span></a>.</p><p>Primarily, I'm a <a href="https://masto.masto.com/tags/geek" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>geek</span></a>, a <a href="https://masto.masto.com/tags/nerd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nerd</span></a>, a <a href="https://masto.masto.com/tags/technology" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>technology</span></a> enthusiast. Santa brought me a <a href="https://masto.masto.com/tags/Commodore" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Commodore</span></a> 64 when I was 9 and I've never stopped being excited by new gadgets.</p><p>I ran a <a href="https://masto.masto.com/tags/BBS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BBS</span></a> in the 90s, I've been an <a href="https://masto.masto.com/tags/amiga" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>amiga</span></a> fanboy, a <a href="https://masto.masto.com/tags/FreeBSD" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FreeBSD</span></a> and <a href="https://masto.masto.com/tags/FreeSoftware" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FreeSoftware</span></a> advocate, <a href="https://masto.masto.com/tags/perl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>perl</span></a> fan, <a href="https://masto.masto.com/tags/mac" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>mac</span></a> developer (presented once at <a href="https://masto.masto.com/tags/WWDC" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WWDC</span></a>). I'm a hobbyist <a href="https://masto.masto.com/tags/maker" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>maker</span></a> of <a href="https://masto.masto.com/tags/electronics" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>electronics</span></a>, <a href="https://masto.masto.com/tags/3dPrinting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>3dPrinting</span></a>, <a href="https://masto.masto.com/tags/LaserCutting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LaserCutting</span></a>, etc. Inconsequential <a href="https://masto.masto.com/tags/YouTuber" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>YouTuber</span></a> (see bio). I dabble in <a href="https://masto.masto.com/tags/HomeAutomation" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HomeAutomation</span></a>, and still like to <a href="https://masto.masto.com/tags/code" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>code</span></a>.</p>