Changeset 4829 for trunk/bp-core/bp-core-functions.php
- Timestamp:
- 07/23/2011 10:05:47 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/bp-core/bp-core-functions.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-functions.php
r4820 r4829 1298 1298 1299 1299 /** 1300 * Are oembeds allwoed in ac itivity replies?1300 * Are oembeds allwoed in activity replies? 1301 1301 * 1302 1302 * @return bool False when activity replies embed support is disabled; true when enabled (default) … … 1308 1308 1309 1309 /** 1310 * Are oembeds allowed on forum posts?1310 * Are oembeds allowed in forum posts? 1311 1311 * 1312 1312 * @return bool False when form post embed support is disabled; true when enabled (default) … … 1315 1315 function bp_use_embed_in_forum_posts() { 1316 1316 return apply_filters( 'bp_use_embed_in_forum_posts', !defined( 'BP_EMBED_DISABLE_FORUM_POSTS' ) || !BP_EMBED_DISABLE_FORUM_POSTS ); 1317 } 1318 1319 /** 1320 * Are oembeds allowed in private messages? 1321 * 1322 * @return bool False when form post embed support is disabled; true when enabled (default) 1323 * @since 1.3 1324 */ 1325 function bp_use_embed_in_private_messages() { 1326 return apply_filters( 'bp_use_embed_in_private_messages', !defined( 'BP_EMBED_DISABLE_PRIVATE_MESSAGES' ) || !BP_EMBED_DISABLE_PRIVATE_MESSAGES ); 1317 1327 } 1318 1328
Note: See TracChangeset
for help on using the changeset viewer.