LLMS_Elementor_Migrate::should_migrate_post( int $post_id )
Determine if a post should be migrated.
Parameters Parameters
- $post_id
-
(int) (Required) WP_Post ID.
Return Return
(bool)
Source Source
File: includes/class-llms-elementor-migrate.php
public function should_migrate_post( $post_id ) {
$ret = ! llms_parse_bool( get_post_meta( $post_id, '_llms_elementor_migrated', true ) );
/**
* Filters whether or not a post should be migrated
*
* @since 7.7.0
*
* @param bool $migrate Whether or not a post should be migrated.
* @param int $post_id WP_Post ID.
*/
return apply_filters( 'llms_elementor_should_migrate_post', $ret, $post_id );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 7.7.0 | Introduced. |