|
9 | 9 | '<dl>' . |
10 | 10 | '<dt><code>[ap_title]</code></dt>' . |
11 | 11 | '<dd>' . \wp_kses( __( 'The post\'s title.', 'activitypub' ), 'default' ) . '</dd>' . |
12 | | - '<dt><code>[ap_content]</code></dt>' . |
13 | | - '<dd>' . \wp_kses( __( 'The post\'s content.', 'activitypub' ), 'default' ) . '</dd>' . |
| 12 | + '<dt><code>[ap_content apply_filters="yes"]</code></dt>' . |
| 13 | + '<dd>' . \wp_kses( __( 'The post\'s content. With <code>apply_filters</code> you can decide if filters should be applied or not (default is <code>yes</code>). The values can be <code>yes</code> or <code>no</code>. <code>apply_filters</code> attribute is optional.', 'activitypub' ), 'default' ) . '</dd>' . |
14 | 14 | '<dt><code>[ap_excerpt lenght="400"]</code></dt>' . |
15 | 15 | '<dd>' . \wp_kses( __( 'The post\'s excerpt (default 400 chars). <code>length</code> attribute is optional.', 'activitypub' ), 'default' ) . '</dd>' . |
16 | 16 | '<dt><code>[ap_permalink type="url"]</code></dt>' . |
17 | | - '<dd>' . \wp_kses( __( 'The post\'s permalink. Type can be either: <code>url</code> or <code>html</code> (an <a /> tag). <code>type</code> attribute is optional.', 'activitypub' ), 'default' ) . '</dd>' . |
| 17 | + '<dd>' . \wp_kses( __( 'The post\'s permalink. <code>type</code> can be either: <code>url</code> or <code>html</code> (an <a /> tag). <code>type</code> attribute is optional.', 'activitypub' ), 'default' ) . '</dd>' . |
18 | 18 | '<dt><code>[ap_shortlink type="url"]</code></dt>' . |
19 | | - '<dd>' . \wp_kses( __( 'The post\'s shortlink. Type can be either <code>url</code> or <code>html</code> (an <a /> tag). I can recommend <a href="https://wordpress.org/plugins/hum/" target="_blank">Hum</a>, to prettify the Shortlinks. <code>type</code> attribute is optional.', 'activitypub' ), 'default' ) . '</dd>' . |
| 19 | + '<dd>' . \wp_kses( __( 'The post\'s shortlink. <code>type</code> can be either <code>url</code> or <code>html</code> (an <a /> tag). I can recommend <a href="https://wordpress.org/plugins/hum/" target="_blank">Hum</a>, to prettify the Shortlinks. <code>type</code> attribute is optional.', 'activitypub' ), 'default' ) . '</dd>' . |
20 | 20 | '<dt><code>[ap_hashtags]</code></dt>' . |
21 | 21 | '<dd>' . \wp_kses( __( 'The post\'s tags as hashtags.', 'activitypub' ), 'default' ) . '</dd>' . |
22 | 22 | '<dt><code>[ap_hashcats]</code></dt>' . |
|
0 commit comments