<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.sehanka.de/index.php?action=history&amp;feed=atom&amp;title=WordPress_admin_post_view_modifizieren</id>
	<title>WordPress admin post view modifizieren - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sehanka.de/index.php?action=history&amp;feed=atom&amp;title=WordPress_admin_post_view_modifizieren"/>
	<link rel="alternate" type="text/html" href="https://wiki.sehanka.de/index.php?title=WordPress_admin_post_view_modifizieren&amp;action=history"/>
	<updated>2026-04-17T16:16:32Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in wiki.sehanka.de</subtitle>
	<generator>MediaWiki 1.36.0</generator>
	<entry>
		<id>https://wiki.sehanka.de/index.php?title=WordPress_admin_post_view_modifizieren&amp;diff=194&amp;oldid=prev</id>
		<title>Sebastian.kalms am 28. Januar 2022 um 13:21 Uhr</title>
		<link rel="alternate" type="text/html" href="https://wiki.sehanka.de/index.php?title=WordPress_admin_post_view_modifizieren&amp;diff=194&amp;oldid=prev"/>
		<updated>2022-01-28T13:21:24Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 28. Januar 2022, 13:21 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l21&quot;&gt;Zeile 21:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 21:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;= Quellen =&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Kategorie:Web-Entwicklung]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Kategorie:WordPress]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sebastian.kalms</name></author>
	</entry>
	<entry>
		<id>https://wiki.sehanka.de/index.php?title=WordPress_admin_post_view_modifizieren&amp;diff=193&amp;oldid=prev</id>
		<title>Sebastian.kalms: Die Seite wurde neu angelegt: „== Post title automatisch durch Werte der Custom fields ersetzen ==  * folgender Code kann direkt in die functions.php geschrieben werden * besser und übersic…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.sehanka.de/index.php?title=WordPress_admin_post_view_modifizieren&amp;diff=193&amp;oldid=prev"/>
		<updated>2022-01-28T13:21:01Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „== Post title automatisch durch Werte der Custom fields ersetzen ==  * folgender Code kann direkt in die functions.php geschrieben werden * besser und übersic…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Post title automatisch durch Werte der Custom fields ersetzen ==&lt;br /&gt;
&lt;br /&gt;
* folgender Code kann direkt in die functions.php geschrieben werden&lt;br /&gt;
* besser und übersichtlicher ist, es in die cpt-BEZEICHNER.php des betroffenen Datenobjekts zu schreiben (im folgenden Beispiel wäre das die cpt-kontakte.php) &lt;br /&gt;
&lt;br /&gt;
'''Beispielcode für Custom Post Type &amp;quot;kontakte&amp;quot;'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
$cpt_contact_key = &amp;quot;kontakte&amp;quot;;&lt;br /&gt;
	&lt;br /&gt;
add_filter( 'wp_insert_post_data' , function( $data , $postarr ) {&lt;br /&gt;
    global $cpt_contact_key;&lt;br /&gt;
&lt;br /&gt;
    if (get_post_type() == $cpt_contact_key) {&lt;br /&gt;
        $data['post_title'] = $postarr['acf'][get_field('_vorname')].' '.$postarr['acf'][get_field('_nachname')];&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    return $data;&lt;br /&gt;
} , '99', 2 );&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sebastian.kalms</name></author>
	</entry>
</feed>