Version Description
- Fix readme.
Download this release
Release Info
Developer | Toro_Unit |
Plugin | Custom Post Type Permalinks |
Version | 3.4.1 |
Comparing to | |
See all releases |
Code changes from version 3.4.0 to 3.4.1
- custom-post-type-permalinks.php +2 -2
- readme.txt +6 -3
custom-post-type-permalinks.php
CHANGED
@@ -5,13 +5,13 @@
|
|
5 |
* Description: Add post archives of custom post type and customizable permalinks.
|
6 |
* Author: Toro_Unit
|
7 |
* Author URI: https://torounit.com/
|
8 |
-
* Version: 3.4.
|
9 |
* Text Domain: custom-post-type-permalinks
|
10 |
* License: GPL2 or later
|
11 |
* Domain Path: /language/
|
12 |
*
|
13 |
* @package Custom_Post_Type_Permalinks
|
14 |
-
* @version 3.4.
|
15 |
*/
|
16 |
|
17 |
define( 'CPTP_PLUGIN_FILE', __FILE__ );
|
5 |
* Description: Add post archives of custom post type and customizable permalinks.
|
6 |
* Author: Toro_Unit
|
7 |
* Author URI: https://torounit.com/
|
8 |
+
* Version: 3.4.1
|
9 |
* Text Domain: custom-post-type-permalinks
|
10 |
* License: GPL2 or later
|
11 |
* Domain Path: /language/
|
12 |
*
|
13 |
* @package Custom_Post_Type_Permalinks
|
14 |
+
* @version 3.4.1
|
15 |
*/
|
16 |
|
17 |
define( 'CPTP_PLUGIN_FILE', __FILE__ );
|
readme.txt
CHANGED
@@ -8,7 +8,7 @@ Tested up to: 5.5
|
|
8 |
Requires PHP: 5.6
|
9 |
License: GPLv2 or Later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
11 |
-
Stable tag: 3.4.
|
12 |
|
13 |
|
14 |
Edit the permalink of custom post type.
|
@@ -56,11 +56,11 @@ Example:
|
|
56 |
|
57 |
= Exclude specific post type =
|
58 |
|
59 |
-
<pre>add_filter( '
|
60 |
|
61 |
// or
|
62 |
|
63 |
-
add_filter( '
|
64 |
if ( 'foo' === $post_type ) {
|
65 |
return false;
|
66 |
}
|
@@ -83,6 +83,9 @@ That's it. You can access the permalinks setting by going to *Settings -> Permal
|
|
83 |
|
84 |
== Changelog ==
|
85 |
|
|
|
|
|
|
|
86 |
= 3.4.0 =
|
87 |
|
88 |
* Tested 5.5 beta3
|
8 |
Requires PHP: 5.6
|
9 |
License: GPLv2 or Later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
11 |
+
Stable tag: 3.4.1
|
12 |
|
13 |
|
14 |
Edit the permalink of custom post type.
|
56 |
|
57 |
= Exclude specific post type =
|
58 |
|
59 |
+
<pre>add_filter( 'cptp_is_rewrite_supported_by_foo', '__return_false' );
|
60 |
|
61 |
// or
|
62 |
|
63 |
+
add_filter( 'cptp_is_rewrite_supported', function ( $support , $post_type ) {
|
64 |
if ( 'foo' === $post_type ) {
|
65 |
return false;
|
66 |
}
|
83 |
|
84 |
== Changelog ==
|
85 |
|
86 |
+
= 3.4.1 =
|
87 |
+
* Fix readme.
|
88 |
+
|
89 |
= 3.4.0 =
|
90 |
|
91 |
* Tested 5.5 beta3
|